tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
detail::is_base_of_impl< Base, Derived > Struct Template Reference

Fallback implementation for is_base_of using pointer conversion. More...

#include <simple_type_traits.h>

Static Public Attributes

static constexpr bool value = check(static_cast<Derived *>(nullptr))
 

Detailed Description

template<typename Base, typename Derived>
struct detail::is_base_of_impl< Base, Derived >

Fallback implementation for is_base_of using pointer conversion.

Template Parameters
BaseCandidate base class.
DerivedCandidate derived class.

Exploits implicit Derived* → Base* conversion to detect inheritance. Does not handle private or ambiguous inheritance.

Member Data Documentation

◆ value

template<typename Base , typename Derived >
constexpr bool detail::is_base_of_impl< Base, Derived >::value = check(static_cast<Derived *>(nullptr))
staticconstexpr

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