BloombergLP::bsls::Util::forward

forward overloads

Synopses

Declared in <bsls_util.h>

Forward the specified t as a reference of deduced TYPE.

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

Forward the specified t as a reference of non-deduced TYPE.

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

Return Value

  • reference to t of deduced TYPE
  • reference to t of non-deduced TYPE

Parameters

NameDescription
tobject to forward