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

value::operator= (4 of 24 overloads)
PrevUpHomeNext

Assignment.

Synopsis
value&
operator=(
    long i) noexcept;
Description

Replace *this with i.

Exception Safety

No-throw guarantee.

Complexity

Linear in the size of *this.

Parameters

Name

Description

i

The new value.


PrevUpHomeNext