forward declaration

Synopsis

Declared in <bslmf_movableref.h>

template<class t_TYPE>
struct MovableRefUtil_Decay
    : bsl::decay<t_TYPE>

Base Classes

Name

Description

bsl::decay<t_TYPE>

Metafunction to return the variant of the specified parameter t_TYPE used for pass‐by‐reference, e.g., by applying array‐to‐pointer and function‐to‐pointer conversion.

Type Aliases

Name

Description

type

This typedef is an alias to the decayed form of t_TYPE.

Derived Classes

Name

Description

Decay

This struct template provides a metafunction that defines a nested type typedef that applies lvalue‐to‐rvalue, array‐to‐pointer, and function‐to‐pointer conversions that occur when an lvalue of type t_TYPE is used as an rvalue, and also removes const, volatile, and reference qualifiers from class types in order to model by‐value argument passing. For the purpose of this type trait, MovableRef<T> is considered a (movable) reference‐qualified T.

Created with MrDocs