Forward the specified t as a reference of deduced TYPE.

Synopsis

Declared in <bsls_util.h>

template<class TYPE>
constexpr
static
TYPE&&
forward(Util_RemoveReference<TYPE>::type& t) noexcept;

Description

Return a reference to the specified t of deduced TYPE. If TYPE is an lvalue‐reference type, then the result will be an lvalue‐reference; otherwise an rvalue‐reference.

Return Value

reference to t of deduced TYPE

Parameters

Name

Description

t

object to forward

Created with MrDocs