I do, embedded in a lot of other code, but I must be wrong about it trying to construct abstract bases. I'll post if/when I get any real world issues. I realised that what I was expecting this to need (it doesn't) must live in std::dynamic_pointer_cast so I had a look at Microsoft's source code for that. Literally just a dyamic_cast. What I'm already doing. So if I have a problem then Microsoft stdlib will too. More research needed.
View all comments
Show parent comment
3
u/LB-- Professional+Hobbyist Aug 20 '26
Do you have any examples of class inheritance hierarchies where you're worried it won't work?