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 develop branch, built from commit 00765c4244.
PrevUpHomeNext
results::at

Returns the i-th resultset or throws an exception.

Synopsis
resultset_view
at(
    std::size_t i) const;
Preconditions

this->has_value() == true

Exception safety

Strong guranatee. Throws on invalid input.

Exceptions

Type

Thrown On

std::out_of_range

i >= this->size()

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