in_relationship< T, U > Struct Template Reference

Used to know if two types are in an inheritance relationship. More...

Detailed Description

template<typename T, typename U>
struct in_relationship< T, U >

Used to know if two types are in an inheritance relationship.

Static Public Attributes

static constexpr const bool value = std::is_base_of<T, U>::value || std::is_base_of<U, T>::value
 

The documentation for this struct was generated from the following file: