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

#include <bslmf_movableref.h>

Inheritance diagram for bslmf::MovableRefUtil::AddMovableReference< t_TYPE >:
bslmf::MovableRefUtil_AddMovableReference< t_TYPE >

Additional Inherited Members

- Public Types inherited from bslmf::MovableRefUtil_AddMovableReference< t_TYPE >
typedef bslmf::MovableRef< t_TYPE > type
 

Detailed Description

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

This struct template provides a metafunction that defines a nested type typedef that, if t_TYPE is not a reference type, is MovableRef<t_TYPE>. Otherwise, if t_TYPE is a specialization of MovableRef, type is the same as t_TYPE. Otherwise, type is t_TYPE&. 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: