ref
Description
Reference class for easier distinction of references and its referenced types.
Vars
T * |
||
Methods
SAW_FORBID_MOVE ( ref ) |
|
constexpr |
ref ( T & ) |
SAW_DEFAULT_COPY ( ref ) |
|
T & |
operator() ( ) |
const T & |
operator() ( ) |
Vars Description
T * ref_
Referenced type
Methods Description
SAW_FORBID_MOVE ( ref )
We don’t want to move since the would invalidate the type.
constexpr ref ( T & )
Main constructor.
SAW_DEFAULT_COPY ( ref )
T & operator() ( )
Operator retrieving the itself.
const T & operator() ( )
Operator retrieving the itself.