Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
stage_response::diag (1 of 2 overloads)

Retrieves the contained diagnostics (lvalue reference accessor).

Synopsis
diagnostics
diag() const;
Description

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

Exception safety

Strong guarantee: memory allocations may throw.


PrevUpHomeNext