Wrap the specified val, using TYPE`s (possibly extended) copy constructor. For allocator‐aware `TYPE, optionally specify an alloc (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

Synopsis

Declared in <bslalg_nothrowmovablewrapper.h>

NothrowMovableWrapper(TYPE const& val);

Created with MrDocs