Boost C++ Libraries Home Libraries People FAQ More

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