forwardAsReference overloads
Declared in <bslmf_util.h>
Correctly forward the specified t argument as a reference type based on the current compilation environment.
template<class t_TYPE>
constexpr
static
t_TYPE&&
forwardAsReference(bsl::remove_reference<t_TYPE>::type& t) noexcept;
» more...
Same as the preceding overload, for rvalue references.
template<class t_TYPE>
constexpr
static
t_TYPE&&
forwardAsReference(bsl::remove_reference<t_TYPE>::type&& t) noexcept;
» more...