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;

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

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

Return Value

  • reference to t of deduced TYPE

  • reference to t of non‐deduced TYPE

Parameters

Name

Description

t

object to forward

Created with MrDocs