110 return !(lhs == rhs);
120 return !(rhs == lhs);
133using ::bsoncxx::v_noabi::string::operator==;
134using ::bsoncxx::v_noabi::string::operator!=;
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition export.hpp:52
The bsoncxx v_noabi macro guard postlude header.
The bsoncxx v_noabi macro guard prelude header.
view_or_value()=default
Default constructor, equivalent to using an empty string.
A polyfill for std::string_view.
Definition string_view.hpp:411
view_or_value(std::string const &str)
Allow construction with an l-value reference to a std::string. The resulting view_or_value will keep ...
Definition view_or_value.hpp:73
view_or_value()=default
Default constructor, equivalent to using an empty string.
bool operator!=(char const *lhs, view_or_value const &rhs)
Comparison operators for comparing string::view_or_value directly with char const*.
Definition view_or_value.hpp:119
bool operator!=(view_or_value const &lhs, char const *rhs)
Comparison operators for comparing string::view_or_value directly with char const*.
Definition view_or_value.hpp:109
char const * data() const
Call data() on this view_or_value's string_view. This method is not guaranteed to return a null-termi...
bool operator==(char const *lhs, view_or_value const &rhs)
Comparison operators for comparing string::view_or_value directly with char const*.
Definition view_or_value.hpp:114
view_or_value terminated() const
Return a string_view_or_value that is guaranteed to hold a null-terminated string....
bool operator==(view_or_value const &lhs, char const *rhs)
Comparison operators for comparing string::view_or_value directly with char const*.
Definition view_or_value.hpp:104
A view-or-value variant type.
Definition view_or_value.hpp:32
operator stdx::string_view() const
Definition view_or_value.hpp:126
View const & view() const
Get a View for the type.
Definition view_or_value.hpp:135
Declares C++17 standard library polyfills.
Declares entities related to handling string types.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all bsoncxx library entities are declared.
Declares bsoncxx::v_noabi::string::view_or_value.
Provides std::string_view-related polyfills for library API usage.
Provides bsoncxx::v_noabi::view_or_value.