19 #include <mongocxx/instance-fwd.hpp>
20 #include <mongocxx/logger-fwd.hpp>
22 #include <mongocxx/config/prelude.hpp>
128 class MONGOCXX_PRIVATE impl;
129 std::unique_ptr<impl> _impl;
135 #include <mongocxx/config/postlude.hpp>
Class representing an instance of the MongoDB driver.
Definition: instance.hpp:80
instance()
Creates an instance of the driver.
instance(std::unique_ptr< logger > logger)
Creates an instance of the driver with a user provided log handler.
instance(instance &&) noexcept
Move constructs an instance of the driver.
static instance & current()
Returns the current unique instance of the driver.
The interface that all user-defined loggers must implement.
Definition: logger.hpp:55
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19