HasInit< DETECTORINPUTTYPE > Struct Template Reference

#include <apibase.h>

Classes

struct  Default
 
struct  Derived
 

Public Types

using DT = typename std::decay< DETECTORINPUTTYPE >::type
 
using type = decltype(Test< Derived >(nullptr))
 

Static Public Member Functions

template<typename D >
static std::false_type Test (maxon::MemberDetectorHelper< maxon::Int Default::*, &D::Init > *)
 
template<typename D >
static std::true_type Test (...)
 

Static Public Attributes

static const maxon::Bool value
 

Member Typedef Documentation

◆ DT

using DT = typename std::decay<DETECTORINPUTTYPE>::type

◆ type

using type = decltype(Test<Derived>(nullptr))

Member Function Documentation

◆ Test() [1/2]

static std::false_type Test ( maxon::MemberDetectorHelper< maxon::Int Default::*, &D::Init > *  )
static

◆ Test() [2/2]

static std::true_type Test (   ...)
static

Member Data Documentation

◆ value

const maxon::Bool value
static