...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Closes a statement, deallocating it from the server.
template< class CompletionToken> auto async_close_statement( const statement& stmt, diagnostics& diag, CompletionToken&& token);
After this operation succeeds, stmt
must not be used again for execution.
stmt.valid() == true
It is not required to keep stmt
alive, as copies are made by the implementation as required.
The handler signature for this operation is void(boost::mysql::error_code)
.