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.

Synopsis

Declared in <bslmf_movableref.h>

template<class t_TYPE>
struct AddLvalueReference
    : MovableRefUtil_AddLvalueReference<t_TYPE>

Base Classes

Name

Description

MovableRefUtil_AddLvalueReference<t_TYPE>

forward declaration

Type Aliases

Name

Description

type

This typedef defines the return type of this meta function.

Created with MrDocs