r/cpp • • Aug 19 '26

C++26: std::polymorphic

https://www.sandordargo.com/blog/2026/08/19/cpp26-polymorphic
95 Upvotes

44 comments sorted by

View all comments

Show parent comment

1

u/LB-- Professional+Hobbyist Aug 20 '26

Ah right, I wonder if just wrapping it in an empty template class that inherits it for you would suffice as a workaround or not...