r/cpp • • Jul 06 '26

C++26: constexpr virtual inheritance

https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance
83 Upvotes

61 comments sorted by

View all comments

Show parent comment

1

u/13steinj Jul 06 '26

A couple, particularly when having

  • code with functionality
  • that also uses multiple inheritance for metaprogramming tricks

2 jobs ago, the company's internal framework required it to work correctly (it was a very poorly implemented service-locator based framework).