![]() |
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.
Mutates other
's internal
state handle. Does not access the pool state. This function can never be called concurrently with other functions that
read the internal state handle, even for pools created with
pool_params::thread_safe
set to true.
The internal pool state is not accessed, so this function can be called concurrently with functions that only access the pool's internal state, like returning connections.