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
Retrieves the executor associated to this object.
connection_pool::executor_type
get_executor() noexcept;
Returns the executor used to construct the pool as first argument. This
is the case even when using pool_params::thread_safe - the internal strand
created in this case is never exposed.
No-throw guarantee.
Reads the internal state handle. Reads the pool state. If the pool was built with thread-safety enabled, it can be called concurrently with other functions that don't modify the state handle.