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
Returns whether the object is in a moved-from state.
bool valid() const;
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.
No-throw guarantee.
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.