19 #include <bsoncxx/stdx/optional.hpp>
20 #include <bsoncxx/stdx/string_view.hpp>
21 #include <mongocxx/stdx.hpp>
23 #include <mongocxx/config/prelude.hpp>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
67 static std::string version_to_string(version version);
80 static version version_from_string(stdx::string_view version);
100 const stdx::optional<bool>& strict()
const;
112 server_api& deprecation_errors(
bool deprecation_errors);
120 const stdx::optional<bool>& deprecation_errors()
const;
128 version get_version()
const;
135 stdx::optional<bool> _strict;
136 stdx::optional<bool> _deprecation_errors;
140 MONGOCXX_INLINE_NAMESPACE_END
143 #include <mongocxx/config/postlude.hpp>