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 f, or f if already wrapped.
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);
Return Value
wrapped copy of f, or a copy of f if already wrapped
Parameters
Name |
Description |
f |
object to wrap |
Created with MrDocs