Defines a member that can either be static or local to the struct. More...
#include <memberStore.hpp>
Public Types | |
using | Parent = T_Parent |
See MemberStore. | |
using | Type = T_Type |
< See MemberStore | |
Public Member Functions | |
Type & | get () |
Get a reference to the actual member. | |
Type const & | get () const |
Get a reference to the actual member. | |
template<typename... Args> | |
MemberStore (Args &&... args) | |
Arguments are forwarded to the constructor of the member. | |
Static Public Attributes | |
static bool constexpr | storeStatic = T_storeStatic |
See MemberStore. | |
Defines a member that can either be static or local to the struct.
Initialization of the static member is done on a first touch basis.
T_Type | The type of the member. Can be anything. |
T_Parent | The structure where the member is located. |
T_storeStatic | Define context of the variable. |