MongoDB C++ Driver 4.1.0
|
Declares entities representing any BSON value type.
Classes | |
class | value |
An owning variant type that represents any BSON type. More... | |
class | view |
A non-owning variant that can contain any BSON type. More... | |
Typedefs | |
using | view_or_value = bsoncxx::v_noabi::view_or_value<view, value> |
Equivalent to v_noabi::view_or_value<view, value> . | |
Functions | |
template<typename T> | |
bson_value::value | make_value (T &&t) |
Helper to construct a bson_value::value from a component bson type. The type of the passed-in t can be anything that builder::basic::sub_document::append accepts. | |
bool | operator== (value const &lhs, value const &rhs) |
Compares values for (in)-equality. | |
bool | operator!= (value const &lhs, value const &rhs) |
Compares values for (in)-equality. | |
bool | operator== (value const &lhs, value const &rhs) |
Compares values for (in)-equality. | |
bool | operator!= (value const &lhs, value const &rhs) |
Compares values for (in)-equality. | |
bool | operator== (value const &lhs, view const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator== (view const &lhs, value const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator!= (value const &lhs, view const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator!= (view const &lhs, value const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator== (value const &lhs, view const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator== (view const &lhs, value const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator!= (value const &lhs, view const &rhs) |
Compares a value with a view for (in)equality. | |
bool | operator!= (view const &lhs, value const &rhs) |
Compares a value with a view for (in)equality. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator== (bson_value::view const &lhs, T &&rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator== (T &&lhs, bson_value::view const &rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator!= (bson_value::view const &lhs, T &&rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator!= (T &&lhs, bson_value::view const &rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator== (bson_value::view const &lhs, T &&rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator== (T &&lhs, bson_value::view const &rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator!= (bson_value::view const &lhs, T &&rhs) |
Compares a view with a type representable as a view. | |
template<typename T> | |
detail::requires_t< bool, detail::is_bson_view_compatible< T > > | operator!= (T &&lhs, bson_value::view const &rhs) |
Compares a view with a type representable as a view. | |
using bsoncxx::v_noabi::types::bson_value::view_or_value = bsoncxx::v_noabi::view_or_value<view, value> |
Equivalent to v_noabi::view_or_value<view, value>
.
bson_value::value bsoncxx::v_noabi::types::bson_value::make_value | ( | T && | t | ) |
Helper to construct a bson_value::value from a component bson type. The type of the passed-in t can be anything that builder::basic::sub_document::append accepts.
detail::requires_t< bool, detail::is_bson_view_compatible< T > > operator!= | ( | bson_value::view const & | lhs, |
T && | rhs ) |
Compares a view with a type representable as a view.
T
. detail::requires_t< bool, detail::is_bson_view_compatible< T > > operator!= | ( | T && | lhs, |
bson_value::view const & | rhs ) |
Compares a view with a type representable as a view.
T
. Compares a value with a view for (in)equality.
Compares a value with a view for (in)equality.
detail::requires_t< bool, detail::is_bson_view_compatible< T > > operator== | ( | bson_value::view const & | lhs, |
T && | rhs ) |
Compares a view with a type representable as a view.
T
. detail::requires_t< bool, detail::is_bson_view_compatible< T > > operator== | ( | T && | lhs, |
bson_value::view const & | rhs ) |
Compares a view with a type representable as a view.
T
. Compares a value with a view for (in)equality.