![]() |
Home | Libraries | People | FAQ | More |
Move assignment.
connection_pool& operator=( connection_pool&& other);
Assigns other
to *this
, transferring
ownership.
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.