Correctly forward the specified t argument as a reference type based on the current compilation environment.
Synopsis
Declared in <bslmf_util.h>
template<class t_TYPE>
constexpr
static
t_TYPE&&
forwardAsReference(bsl::remove_reference<t_TYPE>::type& t) noexcept;
Return Value
t forwarded as t_TYPE&&
Parameters
Name |
Description |
t |
argument to forward as a reference |
Created with MrDocs