This struct is used as the reinterpretation type of generic pointers to ones reflecting the effective custom type of a configuration variable. While reinterpretation casts do not need such templated model, its use increases readability of the code.
| T | The variable's data type. |
Public Field Index: | |
| T | custom |
| The custom data that this object stores. | |
Public Method Index: | |
| template<typename TReinterpret> | |
| TReinterpret & | As () |
| template<typename TReinterpret> | |
| const TReinterpret & | As () const |
| T alib::variables::detail::VData< T >::custom |
|
inline |
Reinterprets the this-pointer to a VData<TReinterpret>* and returns member custom.
| TReinterpret | The type to reinterpret to. |
|
inline |
Reinterprets the this-pointer to a const VData<TReinterpret>* and returns member custom.
| TReinterpret | The type to reinterpret to. |