Constructors
Declared in <bslalg_nothrowmovablewrapper.h>
Value-initialize the wrapped object.
NothrowMovableWrapper();
» more...
Copy construct from the specified original wrapper using TYPEs copy constructor.
NothrowMovableWrapper(NothrowMovableWrapper const& original);
» more...
Move construct from the specified original wrapper.
NothrowMovableWrapper(bslmf::MovableRef<NothrowMovableWrapper> original) noexcept;
» more...
Wrap the specified val, using TYPEs move constructor.
NothrowMovableWrapper(bslmf::MovableRef<TYPE> val);
» more...
Wrap a copy of the specified val.
NothrowMovableWrapper(TYPE const& val);
» more...
Same as the preceding constructor, using the specified alloc to supply memory.
NothrowMovableWrapper(
std::allocator_arg_t allocatorArg,
allocator_type const& alloc);
» more...
Move construct from original using an allocator.
NothrowMovableWrapper(
std::allocator_arg_t allocatorArg,
allocator_type const& alloc,
bslmf::MovableRef<NothrowMovableWrapper> original);
» more...
Wrap a move of val using an allocator.
NothrowMovableWrapper(
std::allocator_arg_t allocatorArg,
allocator_type const& alloc,
bslmf::MovableRef<TYPE> val);
» more...
Copy construct from original using an allocator.
NothrowMovableWrapper(
std::allocator_arg_t allocatorArg,
allocator_type const& alloc,
NothrowMovableWrapper const& original);
» more...
Same as the preceding constructor, using the specified alloc to supply memory.
NothrowMovableWrapper(
std::allocator_arg_t allocatorArg,
allocator_type const& alloc,
TYPE const& val);
» more...
| Name | Description |
|---|---|
| original | wrapper whose value is copied |
| val | value used to initialize the wrapped object |
| allocatorArg | tag selecting the allocator-extended constructor |
| alloc | allocator used to supply memory |