[#BloombergLP-bslmf-Util-forwardAsReference-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/Util.adoc[Util]::forwardAsReference :relfileprefix: ../../../ :mrdocs: Correctly forward the specified `t` argument as a reference type based on the current compilation environment. == Synopsis Declared in `<bslmf_util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *t* | argument to forward as a reference |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#