BloombergLP::bslmf::MovableRefUtil_AddMovableReference

forward declaration

Synopsis

Declared in <bslmf_movableref.h>

template<class t_TYPE>
struct MovableRefUtil_AddMovableReference
    : bsl::add_rvalue_reference<t_TYPE>

Base Classes

NameDescription
bsl::add_rvalue_reference<t_TYPE>This struct template implements a meta-function to transform the (template parameter) t_TYPE to its rvalue reference type.

Type Aliases

NameDescription
type This typedef is an alias to the return type of this meta-function.

Derived Classes

NameDescription
AddMovableReference 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.