MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mongocxx::v_noabi::pool::entry Class Reference

An entry is a handle on a client object acquired via the pool. More...

#include <pool.hpp>

Public Member Functions

clientoperator-> () const &noexcept
 Access a member of the client instance.
 
clientoperator* () const &noexcept
 Retrieve a reference to the client.
 
entryoperator= (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.
 

Detailed Description

An entry is a handle on a client object acquired via the pool.

Similar to std::unique_ptr.

Note
The lifetime of any entry object must be a subset of the pool object from which it was acquired.

The documentation for this class was generated from the following file: