tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_base_of< Base, Derived > Struct Template Reference

If Derived is derived from Base or if both are the same non-union class (in both cases ignoring cv-qualification), provides the member constant value equal to true. Otherwise value is false. More...

#include <is_base_of.hpp>

Inheritance diagram for is_base_of< Base, Derived >:
integral_constant< bool, B >

Additional Inherited Members

- Public Types inherited from integral_constant< bool, B >
using type
 
using type
 
using value_type
 
using value_type
 
- Public Member Functions inherited from integral_constant< bool, B >
constexpr operator value_type () const noexcept
 
constexpr operator value_type () const noexcept
 
constexpr auto operator() () const noexcept -> value_type
 
constexpr auto operator() () const noexcept -> value_type
 
- Static Public Attributes inherited from integral_constant< bool, B >
static constexpr bool value
 
static constexpr bool value
 

Detailed Description

template<typename Base, typename Derived>
struct etl::is_base_of< Base, Derived >

If Derived is derived from Base or if both are the same non-union class (in both cases ignoring cv-qualification), provides the member constant value equal to true. Otherwise value is false.

If both Base and Derived are non-union class types, and they are not the same type (ignoring cv-qualification), Derived shall be a complete type; otherwise the behavior is undefined.

https://en.cppreference.com/w/cpp/types/is_base_of


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