|
MongoDB C++ Driver 4.1.4
|
#include <mongocxx/v_noabi/mongocxx/pool.hpp>
An owning handle to a client obtained from a pool.
Returns the client back to its original pool on destruction.
Public Member Functions | |
| operator bool () const noexcept | |
| Return true if this entry has a client acquired from the pool. | |
| client & | operator* () const &noexcept |
| Retrieve a reference to the client. | |
| client * | operator-> () const &noexcept |
| Access a member of the client instance. | |
| entry & | operator= (std::nullptr_t) noexcept |
| Assign nullptr to this entry to release its client to the pool. | |
|
explicitnoexcept |
Return true if this entry has a client acquired from the pool.
|
noexcept |
Retrieve a reference to the client.
|
noexcept |
Access a member of the client instance.
|
noexcept |
Assign nullptr to this entry to release its client to the pool.