Quick Links:

bal | bbl | bdl | bsl

bslmf::MovableRefUtil::AddLvalueReference< t_TYPE > Struct Template Reference

#include <bslmf_movableref.h>


Detailed Description

template<class t_TYPE>
struct bslmf::MovableRefUtil::AddLvalueReference< t_TYPE >

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.

See Component bslmf_movableref


The documentation for this struct was generated from the following file: