66 const options::
pool& options = options::
pool());
77 pool& operator=(const
pool&) = delete;
90 client* operator->() && = delete;
94 client& operator*() && = delete;
105 bsoncxx::v_noabi::
string::view_or_value name) const& {
106 return (**
this)[name];
113 friend ::mongocxx::v_noabi::pool;
115 using unique_client =
118 explicit entry(unique_client);
120 unique_client _client;
136 friend ::mongocxx::v_noabi::options::auto_encryption;
141 const std::unique_ptr<impl> _impl;
Declares mongocxx::v_noabi::options::auto_encryption.
A polyfill for std::optional<T>.
Definition optional.hpp:874
Class representing a view-or-value variant type for strings.
Definition view_or_value.hpp:41
Class representing a client connection to MongoDB.
Definition client.hpp:62
Class representing a MongoDB database.
Definition database.hpp:47
An entry is a handle on a client object acquired via the pool. Similar to std::unique_ptr.
Definition pool.hpp:86
client * operator->() const &noexcept
Access a member of the client instance.
A pool of client objects associated with a MongoDB deployment.
Definition pool.hpp:52
entry acquire()
Acquires a client from the pool. The calling thread will block until a connection is available.
Class representing a MongoDB connection string URI.
Definition uri.hpp:43
Provides mongocxx::v_noabi::client.
Provides mongocxx::v_noabi::database.
#define MONGOCXX_ABI_CDECL
Expands to __cdecl when built with MSVC on Windows.
Definition fwd.hpp:214
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
The mongocxx macro guard postlude header.
The mongocxx macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::options::pool.
Declares mongocxx::v_noabi::pool.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides mongocxx::v_noabi::uri.