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 e70692e4d8.
PrevUpHomeNext
segments_encoded_view::operator=

Assignment.

Synopsis
segments_encoded_view&
operator=(
    segments_encoded_view const&);
Description

After assignment, both views will reference the same underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced.

Postconditions
this->buffer().data() == other.buffer().data()
Complexity

Constant

Exception Safety

Throws nothing


PrevUpHomeNext