Unexpected dynamic_cast failure i.c.w. template type in C++
In my code base I have a polymorphic class that just fails to work with dynamic_cast under certain circumstances; rtti seems to be ‘off’ in a template function? I’m trying to get to the bottom of this but I’m quite stuck right now. I’ve minified the situation to it’s essentials, and what it basically boils down to is that: