MongoDB C++ Driver
mongocxx-3.7.0
|
An entry is a handle on a client
object acquired via the pool.
More...
#include <pool.hpp>
Public Member Functions | |
client * | operator-> () const &noexcept |
Access a member of the client instance. | |
client & | operator* () const &noexcept |
Retrieve a reference to the client. | |
entry & | operator= (std::nullptr_t) noexcept |
Assign nullptr to this entry to release its client to the pool. | |
operator bool () const noexcept | |
Return true if this entry has a client acquired from the pool. | |
An entry is a handle on a client
object acquired via the pool.
Similar to std::unique_ptr.