forward declaration

Synopsis

Declared in <bslmf_movableref.h>

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

Base Classes

Name

Description

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

Name

Description

type

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

Derived Classes

Name

Description

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.

Created with MrDocs