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 3466a2f5d5.
PrevUpHomeNext
static_results::has_value

Returns whether the object holds a valid result.

Synopsis
bool
has_value() const;
Description

Having this->has_value() is a precondition to call all data accessors. Objects populated by connection::execute and connection::async_execute are guaranteed to have this->has_value() == true.

Exception safety

No-throw guarantee.

Complexity

Constant.


PrevUpHomeNext