BloombergLP::bslalg::NothrowMovableUtil::unwrap

unwrap overloads

Synopses

Declared in <bslalg_nothrowmovableutil.h>

Same as the preceding overload, for movable rvalues.

template<class TYPE>
static
bslmf::MovableRef<bslalg::NothrowMovableUtil::UnwrappedType<TYPE>::type>
unwrap(BloombergLP::bslmf::MovableRef_Deduced<TYPE> f);
» more...

Same as the preceding overload, for const movable rvalues.

template<class TYPE>
static
bslmf::MovableRef<bslalg::NothrowMovableUtil::UnwrappedType<TYPE>::type const>
unwrap(BloombergLP::bslmf::MovableRef_Deduced<TYPE const> f);
» more...

Return a reference to the object wrapped by the specified f.

template<class TYPE>
static
bslalg::NothrowMovableUtil::UnwrappedType<TYPE>::type&
unwrap(TYPE& f);
» more...

Same as the preceding overload, for const lvalues.

template<class TYPE>
static
bslalg::NothrowMovableUtil::UnwrappedType<TYPE>::type const&
unwrap(TYPE const& f);
» more...

Return Value

  • movable reference to the unwrapped object
  • movable reference to the const unwrapped object
  • reference to the unwrapped object
  • const reference to the unwrapped object

Parameters

NameDescription
fobject to unwrap