bsl::decay

Metafunction returning the decayed form of t_TYPE for pass-by-value.

Synopsis

Declared in <bslmf_decay.h>

template<class t_TYPE>
class decay;

Description

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

Type Aliases

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

Derived Classes

NameDescription
MovableRefUtil_Decay forward declaration