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.
Synopsis
Declared in <bslmf_movableref.h>
template<class t_TYPE>
struct AddMovableReference
: MovableRefUtil_AddMovableReference<t_TYPE>
Base Classes
Name |
Description |
forward declaration |