Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
segments_view::operator=

Assignment.

Synopsis
segments_view&
operator=(
    segments_view const& other);
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