BloombergLP::bsls::Util::forward

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.

Synopsis

Declared in <bsls_util.h>

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