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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
results::front

Returns the first resultset.

Synopsis
resultset_view
front() const;
Preconditions

this->has_value() == true

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