Method Get of the default version of this struct creates a VTable dynamically. For this, a corresponding templated Singleton type VTableTT, according to given template parameter TMapping is returned.
For optimization purposes (code size as well as execution performance), this struct might be specialized for selected a mapped types, to return static singleton object.
Specializations for all C++ fundamental types are given. Furthermore, various different ALib Modules provide such specializations for types they introduced and that are boxed.
TMapping | The mapped type to receive a vtable for. Has to be of either type TMappedTo<T> or TMappedToArrayOf<T>. |
Definition at line 435 of file vtable.inl.
Public Static Method Index: | |
static constexpr VTable * | Get () |
|
inlinestaticconstexpr |
Returns a strict singleton vtable responsible for boxing mapped type TMapping.
Definition at line 439 of file vtable.inl.