This struct template implements the is_reference meta‐function defined in the C++11 standard [meta.unary.comp]to determine if the (template parameter) t_TYPE is a (lvalue or rvalue) reference type.

Synopsis

Declared in <bslmf_isreference.h>

template<class t_TYPE>
struct is_reference
    : false_type

Description

This struct derives from bsl::false_type with specializations to follow for lvalue and rvalue references.

Base Classes

Name

Description

false_type

Metafunction representing the boolean constant false.

Specializations

Name

Description

is_reference<t_TYPE&>

This struct template implements the is_reference meta‐function defined in the C++11 standard [meta.unary.comp]to determine if the (template parameter) t_TYPE is a (lvalue or rvalue) reference type.

is_reference<t_TYPE&&>

This struct template implements the is_reference meta‐function defined in the C++11 standard [meta.unary.comp]to determine if the (template parameter) t_TYPE is a (lvalue or rvalue) reference type.

Created with MrDocs