BloombergLP::bslalg::NothrowMovableWrapper::NothrowMovableWrapper

Move construct from original using an allocator.

Synopsis

Declared in <bslalg_nothrowmovablewrapper.h>

NothrowMovableWrapper(
    std::allocator_arg_t allocatorArg,
    allocator_type const& alloc,
    bslmf::MovableRef<NothrowMovableWrapper> original);

Description

Move construct from the specified original wrapper using TYPEs extended move constructor. Use the specified alloc (e.g., the address of a bslma::Allocator object) to supply memory. Note that this constructor will not be selected by overload resolution unless TYPE is allocator aware.

Parameters

NameDescription
allocatorArgtag selecting the allocator-extended constructor
allocallocator used to supply memory
originalwrapper whose value is moved