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);
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);
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);
Same as the preceding overload, for const lvalues.
template<class TYPE>
static
bslalg::NothrowMovableUtil::WrappedType<TYPE>::type
wrap(TYPE const& f);
Created with MrDocs