This is a templated derivate of class VTable. It is necessary to create singletons for arbitrary mapped types.
class Singleton< VTableUnoptimized<TMapped, TIsArray> >
TMapped | The mapped type. |
TIsArray | Denotes whether array-boxing is performed or not. |
Definition at line 383 of file vtable.inl.
Private Method Index: | |
constexpr | VTableUnoptimized () |
Additional Inherited Members | |
![]() | |
enum class | DbgFactoryType { Unregistered , Static , Dynamic } |
enum | MappingType : integer { Value = 0 , Pointer = -1 , Enum = -2 } |
![]() | |
static T & | GetSingleton () |
static T & | GetSingleton () |
![]() | |
uinteger | DbgCntUsage = 0 |
DbgFactoryType | DbgProduction = DbgFactoryType::Unregistered |
Debug information. | |
const std::type_info & | ElementType |
FunctionTable | Functions |
Box-functions attached with BootstrapRegister. | |
const MappingType | Mapping |
const unsigned int | PlaceholderUsage |
const std::type_info & | Type |
![]() | |
VTable (const std::type_info &type, const std::type_info &elementType, MappingType mapping, unsigned int placeholderUsage) | |
virtual | ~VTable () |
bool | IsArray () const |
bool | IsEnum () const |
bool | IsPointer () const |
![]() | |
virtual | ~Singleton () |
Virtual destructor. | |
virtual | ~Singleton () |
Virtual destructor. | |
|
inlineconstexprprivate |
Constructor. Passes parameters as expected by parent class VTable.
This constructor is private, and class Singleton is a friend, which makes each template instance of this class being a 'strict' singleton (only that singleton instance exists).
Definition at line 396 of file vtable.inl.