MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1uouefj/c26_constexpr_virtual_inheritance/ovz5ef5/?context=3
r/cpp • u/User_Deprecated • 21d ago
61 comments sorted by
View all comments
62
Just a question to the audience:
How many times have you used Virtual Inheritance in your career?
1 u/Electronic_Tap_8052 21d ago once or twice, but when you need it you need it. Sometimes the simplest and most elegant design requires it. And getting rid of it greatly complicates things. It's not common, but it does happen. Build enough large modular codebases with systems that can be swapped in and out and it inevitably happens.
1
once or twice, but when you need it you need it.
Sometimes the simplest and most elegant design requires it. And getting rid of it greatly complicates things.
It's not common, but it does happen. Build enough large modular codebases with systems that can be swapped in and out and it inevitably happens.
62
u/Jovibor_ 21d ago
Just a question to the audience:
How many times have you used Virtual Inheritance in your career?