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 2daa88693b.
PrevUpHomeNext
connection_pool::~connection_pool

Destructor.

Synopsis
~connection_pool();
Description

Cancels all outstanding async operations on *this, as per cancel.

Thread-safety

Mutates the internal state handle. Mutates the pool state. This function can never be called concurrently with other functions that read the internal state handle, even for pools created with pool_params::thread_safe set to true.

The internal pool state is modified as per cancel. If thread-safety is enabled, it's safe to call the destructor concurrently with functions that only access the pool's internal state, like returning connections.


PrevUpHomeNext