virtual-inheritance tag

1 questions


2 answers
144 views
0
Why do you take virtual inheritance?

virtual base class, virtual Why is inheritance used?I want to know what it means.class Foo{public: void DoSomething() { /* ... */ }};class Bar : public virtual Foo{public: void DoSpecific() { /* ... *...

2 years ago

© 2024 OneMinuteCode. All rights reserved.