Equality operators
Declared in <bdlb_bigendian.h>
Return true if the underlying iterators of lhs and rhs are equal.
template<
class FUNCTOR,
class ITERATOR>
bool
operator==(
TransformIterator<FUNCTOR, ITERATOR> const& lhs,
TransformIterator<FUNCTOR, ITERATOR> const& rhs);
» more...
See the overload above for contract.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
LHS_TYPE const& lhs,
NullableValueRef<RHS_TYPE> const& rhs);
» more...
Return whether lhs is null.
template<class TYPE>
bool
operator==(
NullableValueRef<TYPE> const& lhs,
bsl::nullopt_t const& rhs) noexcept;
» more...
Return whether rhs is null.
template<class TYPE>
bool
operator==(
bsl::nullopt_t const& lhs,
NullableValueRef<TYPE> const& rhs) noexcept;
» more...
Return whether lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
ConstNullableValueRef<LHS_TYPE> const& lhs,
ConstNullableValueRef<RHS_TYPE> const& rhs);
» more...
Return whether lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
ConstNullableValueRef<LHS_TYPE> const& lhs,
RHS_TYPE const& rhs);
» more...
See the overload above for contract.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
LHS_TYPE const& lhs,
ConstNullableValueRef<RHS_TYPE> const& rhs);
» more...
Return whether lhs is null.
template<class TYPE>
bool
operator==(
ConstNullableValueRef<TYPE> const& lhs,
bsl::nullopt_t const& rhs) noexcept;
» more...
Return whether rhs is null.
template<class TYPE>
bool
operator==(
bsl::nullopt_t const& lhs,
ConstNullableValueRef<TYPE> const& rhs) noexcept;
» more...
Return whether lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
ConstNullableValueRef<LHS_TYPE> const& lhs,
NullableValueRef<RHS_TYPE> const& rhs);
» more...
See the overload above for contract.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValueRef<LHS_TYPE> const& lhs,
ConstNullableValueRef<RHS_TYPE> const& rhs);
» more...
Return whether lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValueRef<LHS_TYPE> const& lhs,
RHS_TYPE const& rhs);
» more...
Return true if the specified lhs and rhs objects have the same value.
bool
operator==(
PcgRandomGenerator const& lhs,
PcgRandomGenerator const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
BigEndianInt16 const& lhs,
BigEndianInt16 const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
BigEndianUint16 const& lhs,
BigEndianUint16 const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
BigEndianInt32 const& lhs,
BigEndianInt32 const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
BigEndianUint32 const& lhs,
BigEndianUint32 const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
BigEndianInt64 const& lhs,
BigEndianInt64 const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
BigEndianUint64 const& lhs,
BigEndianUint64 const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
IndexSpan const& lhs,
IndexSpan const& rhs);
» more...
Return true if lhs and rhs refer to the same token position.
bool
operator==(
TokenizerIterator const& lhs,
TokenizerIterator const& rhs);
» more...
Return true if the specified lhs and rhs objects have the same value.
template<
class t_TYPE,
unsigned int t_NUM_BITS>
bool
operator==(
NullableAllocatedValue_PointerBitsPair<t_TYPE, t_NUM_BITS> const& lhs,
NullableAllocatedValue_PointerBitsPair<t_TYPE, t_NUM_BITS> const& rhs);
» more...
Return whether lhs and rhs have the same value.
template<class TYPES>
bool
operator==(
VariantImp<TYPES> const& lhs,
VariantImp<TYPES> const& rhs);
» more...
Return whether the specified lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValue<LHS_TYPE> const& lhs,
NullableValue<RHS_TYPE> const& rhs)
requires requires {
{ *lhs == *rhs } -> NullableValue_ConvertibleToBool;
};
» more...
Return true if the specified nullable objects have the same value, and false otherwise.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValue<LHS_TYPE> const& lhs,
bsl::optional<RHS_TYPE> const& rhs)
requires requires {
{ *lhs == *rhs } -> NullableValue_ConvertibleToBool;
};
» more...
Return true if the specified nullable objects have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
bsl::optional<LHS_TYPE> const& lhs,
NullableValue<RHS_TYPE> const& rhs)
requires requires {
{ *lhs == *rhs } -> NullableValue_ConvertibleToBool;
};
» more...
Return true if the specified nullable objects have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValue<LHS_TYPE> const& lhs,
std::optional<RHS_TYPE> const& rhs)
requires requires {
{ *lhs == *rhs } -> NullableValue_ConvertibleToBool;
};
» more...
Return true if the specified nullable objects have the same value, and false otherwise.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
std::optional<LHS_TYPE> const& lhs,
NullableValue<RHS_TYPE> const& rhs)
requires requires {
{ *lhs == *rhs } -> NullableValue_ConvertibleToBool;
};
» more...
Return whether the specified lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValue<LHS_TYPE> const& lhs,
RHS_TYPE const& rhs)
requires (!NullableValue_DerivedFromOptional<RHS_TYPE>) &&
requires { { *lhs == rhs } -> NullableValue_ConvertibleToBool; };
» more...
Return true if the specified value and nullable object compare equal, and false otherwise.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
LHS_TYPE const& lhs,
NullableValue<RHS_TYPE> const& rhs)
requires (!NullableValue_DerivedFromOptional<LHS_TYPE>) &&
requires { { lhs == *rhs } -> NullableValue_ConvertibleToBool; };
» more...
Return true if the specified value is null, and false otherwise.
template<class TYPE>
constexpr
bool
operator==(
NullableValue<TYPE> const& value,
bsl::nullopt_t const& nullopt) noexcept;
» more...
Grant the equality comparison operator access to this class's private members.
bool
operator==(
VariantImp<VARIANT_TYPES> const& lhs,
VariantImp<VARIANT_TYPES> const& rhs);
» more...
Return whether the operands have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableAllocatedValue<LHS_TYPE> const& lhs,
NullableAllocatedValue<RHS_TYPE> const& rhs);
» more...
Return whether the operands have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableAllocatedValue<LHS_TYPE> const& lhs,
RHS_TYPE const& rhs);
» more...
Return true if the specified lhs and rhs objects have the same value, and false otherwise.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
LHS_TYPE const& lhs,
NullableAllocatedValue<RHS_TYPE> const& rhs);
» more...
Return whether the specified nullable value is null.
template<class TYPE>
bool
operator==(
NullableAllocatedValue<TYPE> const& lhs,
bsl::nullopt_t const& nullopt) noexcept;
» more...
Return true if the specified rhs is null, and false otherwise.
template<class TYPE>
bool
operator==(
bsl::nullopt_t const& nullopt,
NullableAllocatedValue<TYPE> const& rhs) noexcept;
» more...
Return whether the operands have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableAllocatedValue<LHS_TYPE> const& lhs,
bsl::optional<RHS_TYPE> const& rhs);
» more...
Return true if the specified nullable objects have the same value, and false otherwise.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
bsl::optional<LHS_TYPE> const& lhs,
NullableAllocatedValue<RHS_TYPE> const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
bool
operator==(
Guid const& lhs,
Guid const& rhs);
» more...
Return whether lhs and rhs have the same value.
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator==(
NullableValueRef<LHS_TYPE> const& lhs,
NullableValueRef<RHS_TYPE> const& rhs);
» more...
true if the underlying iterators are equal, and false otherwisetrue if lhs and rhs have the same value, and false otherwisetrue if the specified lhs is null, and false otherwisetrue if the specified rhs is null, and false otherwisetrue if the specified lhs and rhs nullable wrappers have the same value, and false otherwisetrue if the specified lhs and rhs objects have the same value, and false otherwisetrue if lhs and rhs have the same value, and false otherwisetrue if lhs and rhs have the same value, and false otherwisetrue if the operands have the same value, and false otherwisetrue if the specified nullable objects have the same value, and false otherwisetrue if the specified nullable objects have the same valuetrue if the specified value and nullable object compare equal, and false otherwisetrue if the specified value is null, and false otherwisetrue if both operands have the same value, and false otherwisetrue if lhs is null, and false otherwisetrue if rhs is null, and false otherwise| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |
| value | nullable object to compare |
| nullopt | disengaged-optional tag |