template boy
template boy

Reputation: 10480

How do I determine if a class indirectly inherits from a base class?

You can use std::is_base_of to check if a class inherits from some base class, but how do I know if a class doesn't directly inherit from that class (i.e inherits indirectly from that class)?

Upvotes: 4

Views: 484

Answers (1)

user1804599
user1804599

Reputation:

It is impossible until N2965 is implemented.

Upvotes: 1

Related Questions