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 22dca45f4b.
PrevUpHomeNext
diagnostics::client_message

Gets the client-generated error message.

Synopsis
string_view
client_message() const;
Description

Contrary to server_message, the client message never contains any string data returned by the server, and is always ASCII-encoded. If you're using the static interface, it may contain C++ type identifiers, too.

Exception safety

No-throw guarantee.

Object lifetimes

The returned view is valid as long as *this is alive, hasn't been assigned-to or moved-from, and clear hasn't been called. Moving *this invalidates the view.


PrevUpHomeNext