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 f, or f if already wrapped.

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...

Return Value

wrapped copy of f, or a copy of f if already wrapped

Parameters

NameDescription
fobject to wrap