8#ifndef INCLUDED_BSLMF_UNWRAPREFERENCE
9#define INCLUDED_BSLMF_UNWRAPREFERENCE
101#include <bslscm_version.h>
108#if BSLS_LIBRARYFEATURES_HAS_CPP20_BASELINE_LIBRARY
109 #include <type_traits>
118#ifdef BSLS_LIBRARYFEATURES_HAS_CPP20_BASELINE_LIBRARY
119using std::unwrap_reference;
120using std::unwrap_reference_t;
131template <
class t_TYPE>
132struct unwrap_reference {
141template <
class t_WRAPPED_TYPE>
142struct unwrap_reference<
bsl::reference_wrapper<t_WRAPPED_TYPE> > {
146 typedef t_WRAPPED_TYPE& type;
149#if defined(BSLS_COMPILERFEATURES_SUPPORT_ALIAS_TEMPLATES)
154template <
class t_TYPE>
155using unwrap_reference_t =
typename unwrap_reference<t_TYPE>::type;
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlat_valuetypefunctions.h:939