17 #include <bsoncxx/document/value.hpp>
18 #include <bsoncxx/document/view_or_value.hpp>
19 #include <bsoncxx/stdx/optional.hpp>
20 #include <bsoncxx/string/view_or_value.hpp>
21 #include <bsoncxx/types/bson_value/view.hpp>
22 #include <mongocxx/stdx.hpp>
24 #include <mongocxx/config/prelude.hpp>
27 MONGOCXX_INLINE_NAMESPACE_BEGIN
60 friend MONGOCXX_API
bool MONGOCXX_CALL operator==(
const hint& index_hint, std::string index);
62 friend MONGOCXX_API
bool MONGOCXX_CALL operator==(
const hint& index_hint,
87 stdx::optional<bsoncxx::document::view_or_value> _index_doc;
88 stdx::optional<bsoncxx::string::view_or_value> _index_string;
98 MONGOCXX_API
bool MONGOCXX_CALL operator==(std::string index,
const hint& index_hint);
109 MONGOCXX_API
bool MONGOCXX_CALL operator!=(
const hint& index_hint, std::string index);
110 MONGOCXX_API
bool MONGOCXX_CALL operator!=(std::string index,
const hint& index_index);
144 MONGOCXX_INLINE_NAMESPACE_END
147 #include <mongocxx/config/postlude.hpp>