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 TYPE`s 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
Name |
Description |
allocatorArg |
tag selecting the allocator‐extended constructor |
alloc |
allocator used to supply memory |
original |
wrapper whose value is moved |
Created with MrDocs