Helper class that conditionally inherits from another class based on a compile-time condition. More...
Public Member Functions | |
template<typename... T> | |
conditonal_inherit (T &&... args) | |
Public Types | |
using | base_type = typename std::conditional< Condition, Base, empty_class >::type |
Helper class that conditionally inherits from another class based on a compile-time condition.
If the condition is false, then this class is an empty class with no methods.