Template Function Aux::isBaseOrSame

Function Documentation

template<typename Base, typename Derived>
constexpr bool Aux::isBaseOrSame()

Checks whether Derived is either a type that derives from Base or is identical to Base.

This is very usefull for situations in which you work with iterator-traits or the like.