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
rows::operator= (3 of 3 overloads)

Replaces the contents of *this with a rows_view.

Synopsis
rows&
operator=(
    const rows_view& rhs);
Exception safety

Basic guarantee. Internal allocations may throw.

Object lifetimes

*this lifetime will be independent of r's (the contents of r will be copied into *this). Iterators and references (including rows_view's row_view's and field_view's) to elements in *this are invalidated.

Complexity

Linear on r.size() * r.num_columns().


PrevUpHomeNext