Metafunction for detecting reference wrappers.
Declared in <bslmf_isreferencewrapper.h>
template<class t_TYPE>
struct IsReferenceWrapper
: bsl::false_type
This struct template implements a boolean metafunction used to detect if the specified t_TYPE is a reference wrapper. Clients may specialize this struct template to inherit from bsl::true_type for t_TYPE types that are specializations of bsl::reference_wrapper. The behavior is undefined if any other specialization of this struct template is defined.
| Name | Description |
|---|---|
bsl::false_type | Metafunction representing the boolean constant false. |
| Name | Description |
|---|---|
IsReferenceWrapper<bsl::reference_wrapper<T>> | This partial specialization of IsReferenceWrapper derives from bsl::true_type for when the (template parameter) type is a bsl::reference_wrapper. |