forward declaration
Declared in <bslmf_movableref.h>
template<class t_TYPE>
struct MovableRefUtil_AddLvalueReference
: bsl::add_lvalue_reference<t_TYPE>
| Name | Description |
|---|---|
bsl::add_lvalue_reference<t_TYPE> | This struct template implements a meta-function to transform the (template parameter) t_TYPE to its lvalue reference type. |
| Name | Description |
|---|---|
type | This typedef defines the return type of this meta function. |
| Name | Description |
|---|---|
AddLvalueReference | This struct template provides a metafunction that defines a nested type typedef that is an lvalue reference to t_TYPE. If t_TYPE is already an lvalue reference, then type is t_TYPE. Otherwise, if t_TYPE is MovableRef<T2>, then type is T2&. This transformation reflects the semantics of reference collapsing in section [dec.ref]of the standard. |