Boost C++ Libraries Home Libraries People FAQ More

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