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
results::operator[]

Returns the i-th resultset (unchecked access).

Synopsis
resultset_view
operator[](
    std::size_t i) const;
Preconditions

this->has_value() == true && i < this->size()

Exception safety

No-throw guarantee.

Object lifetimes

The returned reference and any other references obtained from it are valid as long as *this is alive. Move operations invalidate references.

Complexity

Constant.


PrevUpHomeNext