[#BloombergLP-bsls-Util-forward-0ac]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Util.adoc[Util]::forward
:relfileprefix: ../../../
:mrdocs:

Forward the specified `t` as a reference of deduced `TYPE`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
constexpr
static
TYPE&&
forward(Util&lowbar;RemoveReference&lt;TYPE&gt;::type& t) noexcept;
----

== Description

Return a reference to the specified `t` of deduced `TYPE`&period; If `TYPE` is an lvalue&hyphen;reference type, then the result will be an lvalue&hyphen;reference&semi; otherwise an rvalue&hyphen;reference&period;

== Return Value

reference to `t` of deduced `TYPE`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *t*
| object to forward
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
