BloombergLP::bslalg::NothrowMovableWrapper::NothrowMovableWrapper

Wrap a copy of the specified val.

Synopsis

Declared in <bslalg_nothrowmovablewrapper.h>

NothrowMovableWrapper(TYPE const& val);

Description

Wrap the specified val, using TYPEs (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.

Parameters

NameDescription
valvalue used to initialize the wrapped object