BloombergLP::bslmf::MovableRefUtil_AddLvalueReference

forward declaration

Synopsis

Declared in <bslmf_movableref.h>

template<class t_TYPE>
struct MovableRefUtil_AddLvalueReference
    : bsl::add_lvalue_reference<t_TYPE>

Base Classes

NameDescription
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.

Type Aliases

NameDescription
type This typedef defines the return type of this meta function.

Derived Classes

NameDescription
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.