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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
connection_pool::valid

Returns whether the object is in a moved-from state.

Synopsis
bool
valid() const;
Description

This function returns always true except for pools that have been moved-from. Moved-from objects don't represent valid pools. They can only be assigned to or destroyed.

Exception safety

No-throw guarantee.

Thead-safety

This function is never thread-safe, regardless of the executor configuration passed to the constructor. Calling this function concurrently with any other function introduces data races.


PrevUpHomeNext