How to check for derived classes?

anubhavjain346 (27)
Hello All,

I have a base class and in a project I have some other classes which are derived from this class.
Is there any command in Linux/Unix to identify which all classes have been derived from a particular base class?

Thanks in advance.
rollie (304)
Your question demonstrates a general lack of understanding of the relationship between your operating system (Linux) and a programming language. The answer to your question is 'no' though.
IceThatJaw (387)
I don't know about Linux command but you can use a dynamic_cast in code.
morando (109)
http://www.cplusplus.com/reference/std/type_traits/is_base_of/
Topic archived. No new replies allowed.