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 master branch, built from commit a2b80500d6.
PrevUpHomeNext
stage_response::diag (2 of 2 overloads)

Retrieves the contained diagnostics (rvalue reference accessor).

Synopsis
diagnostics
diag() && noexcept;
Description

If *this contains an error, retrieves the associated diagnostic information by moving it. Otherwise (if this->has_statement() || this->has_results()), returns an empty (default-constructed) error.

Exception safety

No-throw guarantee.


PrevUpHomeNext