BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::MovableRefUtil::AddLvalueReference< t_TYPE > Struct Template Reference

#include <bslmf_movableref.h>

Inheritance diagram for bslmf::MovableRefUtil::AddLvalueReference< t_TYPE >:
bslmf::MovableRefUtil_AddLvalueReference< t_TYPE >

Additional Inherited Members

- Public Types inherited from bslmf::MovableRefUtil_AddLvalueReference< t_TYPE >
typedef t_TYPE & type
 

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.


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