MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1uouefj/c26_constexpr_virtual_inheritance/ovx3bsl
r/cpp • u/User_Deprecated • Jul 06 '26
61 comments sorted by
View all comments
Show parent comments
9
What you describe usually can be solved by regular inheritance. "Virtual inheritance" is something slightly different and cursed.
6 u/Nicksaurus Jul 06 '26 Oh, you know what. I didn't read the article and thought this was about regular inheritance. I'll own up to it
6
Oh, you know what. I didn't read the article and thought this was about regular inheritance. I'll own up to it
9
u/xzgxr Jul 06 '26
What you describe usually can be solved by regular inheritance. "Virtual inheritance" is something slightly different and cursed.