i18n
Loading...
Searching...
No Matches
all_derived< Base, First, Rest... > Struct Template Reference

Uses std::is_base_of to check that First inherits from Base. Recursively evaluates the remaining Rest... types via all_derived. More...

#include <TypeTraits.hpp>

Inheritance diagram for all_derived< Base, First, Rest... >:

Detailed Description

template<typename Base, typename First, typename... Rest>
struct all_derived< Base, First, Rest... >

Uses std::is_base_of to check that First inherits from Base. Recursively evaluates the remaining Rest... types via all_derived.

Template Parameters
BaseThe base type
FirstThe first type in the Derived pack
RestRemaining types in the Derived pack
See also
is_derived_from Single-type check trait
all_derived Multi-type check trait
all_derived<Base> Multi-type check trait

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