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 8d419a01c0.
PrevUpHomeNext

with_diagnostics

Creates a with_diagnostics_t from a completion token.

Synopsis

Defined in header <boost/mysql/with_diagnostics.hpp>

template<
    class CompletionToken>
constexpr
with_diagnostics_t< typename std::decay< CompletionToken >::type >
with_diagnostics(
    CompletionToken&& token);
Description

The passed token is decay-copied into the with_diagnostics_t object.

Exception safety

Strong guarantee. Any exceptions thrown by constructing CompletionToken are propagated.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext