BloombergLP::bslalg::NothrowMovableUtil::wrap

wrap overloads

Synopses

Declared in <bslalg_nothrowmovableutil.h>

Same as the preceding overload, for rvalues.

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

Same as the preceding overload, for const rvalues.

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

Return a wrapped copy of the specified f object. If f is already wrapped, return a simple copy of f without wrapping it again. Note that the overloads taking an lvalue argument prevent the overload taking an rvalue argument from treating the argument as a forwarding reference.

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

Same as the preceding overload, for const lvalues.

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