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

This is the documentation for a snapshot of the master branch, built from commit c6a8213e9b.
PrevUpHomeNext
value::operator= (23 of 24 overloads)

Assignment.

Synopsis
value&
operator=(
    object const& obj);
Description

Replace *this with a copy of the obect obj.

Exception Safety

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

Complexity

Linear in the sum of sizes of *this and obj

Parameters

Name

Description

obj

The new object.


PrevUpHomeNext