CastHelper< R, SRC, true > Struct Template Reference

#include <objectbase.h>

Public Types

using S = typename std::decay< SRC >::type
 
using type = typename std::conditional< STD_IS_REPLACEMENT(reference, SRC), const R &, R >::type
 
using AssertCastType = typename std::conditional< SELF, type, typename Substitute< SRC, R >::type >::type
 

Static Public Attributes

static const Bool SELF
 

Member Typedef Documentation

◆ S

using S = typename std::decay<SRC>::type

◆ type

using type = typename std::conditional<STD_IS_REPLACEMENT(reference, SRC), const R&, R>::type

◆ AssertCastType

using AssertCastType = typename std::conditional<SELF, type, typename Substitute<SRC, R>::type>::type

Member Data Documentation

◆ SELF

const Bool SELF
static