SyntaxFix
Write A Post
Hire A Developer
Questions
You could use reinterprete_cast to check inheritance at compile time. Look here: Using reinterpret_cast to check inheritance at compile time