Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
value::value (7 of 35 overloads)

Move constructor.

Synopsis
value(
    value&& other,
    storage_ptr sp);
Description

The value is constructed with the contents of other by move semantics, using the specified memory resource:

Complexity

Constant or linear in the size of other.

Exception Safety

Strong guarantee. Calls to memory_resource::allocate may throw.

Parameters

Name

Description

other

The value to move.

sp

A pointer to the boost::container::pmr::memory_resource to use. The container will acquire shared ownership of the memory resource.


PrevUpHomeNext