![]() |
Home | Libraries | People | FAQ | More |
Move-constructor.
connection_pool( connection_pool&& other);
Constructs a connection pool by taking ownership of other
.
After this function returns, if other.valid() == true
, this->valid() == true
. In any case, other
will become invalid (other.valid() == false
).
Moving a connection pool with outstanding async operations is safe.
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.