Copy construct from original using an allocator.

Synopsis

Declared in <bslalg_nothrowmovablewrapper.h>

NothrowMovableWrapper(
    std::allocator_arg_t allocatorArg,
    allocator_type const& alloc,
    NothrowMovableWrapper const& original);

Description

Copy construct from the specified original wrapper using TYPE`s extended copy 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

Name

Description

allocatorArg

tag selecting the allocator‐extended constructor

alloc

allocator used to supply memory

original

wrapper whose value is copied

Created with MrDocs