Equality operators
Synopses
Declared in <bdljsn_error.h>
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
unsigned long long rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
JsonArray const& rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
JsonObject const& rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
JsonNumber const& rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
JsonNull const& rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
bool rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
int rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
unsigned int rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
long rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
unsigned long rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
long long rhs);
Same as the related overload above for operator==.
bool
operator==(
std::string_view const& lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
float rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
double rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
bdldfp::Decimal64 rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
char const* rhs);
Same as the related overload above for operator==.
bool
operator==(
Json const& lhs,
std::string_view const& rhs);
Return true if the specified lhs and rhs have the same value.
bool
operator==(
Location const& lhs,
Location const& rhs);
Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.
bool
operator==(
Error const& lhs,
Error const& rhs);
Return true if the specified lhs and rhs have the same value.
bool
operator==(
ReadOptions const& lhs,
ReadOptions const& rhs);
Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.
bool
operator==(
WriteOptions const& lhs,
WriteOptions const& rhs);
Same as the related overload above for operator==.
bool
operator==(
int lhs,
Json const& rhs);
Return true if the specified lhs and rhs have the same value.
bool
operator==(
JsonNumber const& lhs,
JsonNumber const& rhs);
Return whether lhs and rhs have the same value.
bool
operator==(
Json const& lhs,
Json const& rhs);
Return whether lhs and rhs have the same value.
bool
operator==(
JsonArray const& lhs,
JsonArray const& rhs);
Return whether lhs and rhs have the same value.
bool
operator==(
JsonObject const& lhs,
JsonObject const& rhs);
Return whether lhs and rhs have the same value.
bool
operator==(
JsonArray const& lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
JsonObject const& lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
JsonNumber const& lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
JsonNull const& lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
bool lhs,
Json const& rhs);
Return true (unconditionally) as the specified lhs and rhs must have the same value.
bool
operator==(
JsonNull const& lhs,
JsonNull const& rhs);
Same as the related overload above for operator==.
bool
operator==(
unsigned int lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
long lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
unsigned long lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
long long lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
unsigned long long lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
float lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
double lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
bdldfp::Decimal64 lhs,
Json const& rhs);
Same as the related overload above for operator==.
bool
operator==(
char const* lhs,
Json const& rhs);
Return Value
-
trueiflhsandrhshave the same value, andfalseotherwise -
trueiflhsandrhshave the same value, andfalseotherwise -
trueif both objects have the same value, andfalseotherwise -
trueif both objects have the same value, andfalseotherwise -
true(unconditionally)
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs