HasErasedBase< D, B > Struct Template Reference

#include <apibase.h>

Public Types

using DT = typename std::decay< D >::type
 
using BT = typename std::decay< B >::type
 
using EDT = typename GetErasedType< DT >::type
 
using EBT = typename GetErasedType< BT >::type
 
using Helper = maxon::details::HasBaseHelper< EDT, EBT, maxon::details::CheckHasBaseHelper< EDT, EBT >::value >
 

Static Public Member Functions

static BTCast (DT *ptr)
 
static const BTCast (const DT *ptr)
 

Static Public Attributes

static const Bool value
 

Member Typedef Documentation

◆ DT

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

◆ BT

using BT = typename std::decay<B>::type

◆ EDT

using EDT = typename GetErasedType<DT>::type

◆ EBT

using EBT = typename GetErasedType<BT>::type

◆ Helper

Member Function Documentation

◆ Cast() [1/2]

static BT* Cast ( DT ptr)
static

◆ Cast() [2/2]

static const BT* Cast ( const DT ptr)
static

Member Data Documentation

◆ value

const Bool value
static