absl::operator!=

Inequality operators

Synopses

Declared in <absl/numeric/int128.h>

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    zipf_distribution const& a,
    zipf_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    uniform_int_distribution const& a,
    uniform_int_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    poisson_distribution const& a,
    poisson_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    bernoulli_distribution const& d1,
    bernoulli_distribution const& d2);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& p1,
    param_type const& p2);
» more...

Compares two distributions for inequality.

bool
operator!=(
    beta_distribution const& a,
    beta_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    exponential_distribution const& a,
    exponential_distribution const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    uniform_real_distribution const& a,
    uniform_real_distribution const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    gaussian_distribution const& a,
    gaussian_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    log_uniform_int_distribution const& a,
    log_uniform_int_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two distributions for inequality.

bool
operator!=(
    discrete_distribution const& a,
    discrete_distribution const& b);
» more...

Compares two parameter sets for inequality.

bool
operator!=(
    param_type const& a,
    param_type const& b);
» more...

Compares two spans for inequality.

bool
operator!=(
    AnySpan a,
    AnySpan b);
» more...

Compares two const spans for inequality.

bool
operator!=(
    AnySpan<T const> a,
    AnySpan<T const> b);
» more...

Tests whether two iterators refer to different positions.

bool
operator!=(
    Iter const& a,
    Iter const& b);
» more...

Returns true if a and b refer to different elements.

bool
operator!=(
    iterator_common const& a,
    iterator_common const& b);
» more...

Returns whether two maps differ in their key/value pairs.

bool
operator!=(
    linked_hash_map const& a,
    linked_hash_map const& b);
» more...

Returns whether two sets contain different elements.

bool
operator!=(
    linked_hash_set const& a,
    linked_hash_set const& b);
» more...

Compare two CRC32C values for inequality.

bool
operator!=(
    crc32c_t lhs,
    crc32c_t rhs);
» more...

Compares two spans for inequality.

template<typename T>
constexpr
bool
operator!=(
    Span<T const> a,
    Span<T> b);
» more...

Compares two spans for inequality.

template<typename T>
constexpr
bool
operator!=(
    Span<T> a,
    Span<T const> b);
» more...

Compares a container to a span for inequality.

template<
    typename T,
    typename U,
    typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>>
constexpr
bool
operator!=(
    U const& a,
    Span<T> b);
» more...

Compares a span to a container for inequality.

template<
    typename T,
    typename U,
    typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>>
constexpr
bool
operator!=(
    Span<T> a,
    U const& b);
» more...

Returns whether two time zones are unequal.

bool
operator!=(
    TimeZone a,
    TimeZone b);
» more...

Returns whether two durations are unequal.

constexpr
bool
operator!=(
    Duration lhs,
    Duration rhs);
» more...

Returns whether two times are unequal.

constexpr
bool
operator!=(
    Time lhs,
    Time rhs);
» more...

Returns false if f is empty.

bool
operator!=(
    std::nullptr_t unused,
    AnyInvocable const& f) noexcept;
» more...

Returns false if f is empty.

bool
operator!=(
    AnyInvocable const& f,
    std::nullptr_t unused) noexcept;
» more...

Determines whether lhs and rhs are unequal.

constexpr
bool
operator!=(
    uint128 lhs,
    uint128 rhs);
» more...

Determines whether lhs and rhs are unequal.

constexpr
bool
operator!=(
    int128 lhs,
    int128 rhs);
» more...

Tests for value-inequality of two inlined vectors.

template<
    typename T,
    size_t N,
    typename A>
bool
operator!=(
    absl::InlinedVector<T, N, A> const& a,
    absl::InlinedVector<T, N, A> const& b);
» more...

Compares two spans for inequality.

template<typename T>
constexpr
bool
operator!=(
    Span<T> a,
    Span<T> b);
» more...

Returns whether two fixed arrays are not elementwise equal.

bool
operator!=(
    FixedArray const& lhs,
    FixedArray const& rhs);
» more...

Compares two Cords for inequality.

bool
operator!=(
    Cord const& x,
    Cord const& y);
» more...

Compares a Cord with string data for inequality.

bool
operator!=(
    Cord const& x,
    std::string_view y);
» more...

Compares string data with a Cord for inequality.

bool
operator!=(
    std::string_view x,
    Cord const& y);
» more...

Tests whether an optional_ref holds a value.

template<typename T>
constexpr
bool
operator!=(
    optional_ref<T> a,
    std::nullopt_t b);
» more...

Tests whether an optional_ref holds a value.

template<typename T>
constexpr
bool
operator!=(
    std::nullopt_t a,
    optional_ref<T> b);
» more...

Tests whether two optional_refs differ.

template<
    typename T,
    typename U>
constexpr
bool
operator!=(
    optional_ref<T> a,
    optional_ref<U> b);
» more...

Tests whether an optional_ref differs from a value.

template<
    typename T,
    typename U,
    typename = /* implementation-defined */>
constexpr
bool
operator!=(
    optional_ref<T> a,
    U const& b);
» more...

Tests whether a value differs from an optional_ref.

template<
    typename T,
    typename U,
    typename = /* implementation-defined */>
constexpr
bool
operator!=(
    T const& a,
    optional_ref<U> b);
» more...

Compares two statuses for inequality.

bool
operator!=(
    Status const& lhs,
    Status const& rhs);
» more...

Checks the inequality of two absl::StatusOr<T> objects.

template<typename T>
requires internal_statusor::IsEqualityComparable<T>::value
bool
operator!=(
    StatusOr<T> const& lhs,
    StatusOr<T> const& rhs);
» more...

Compares two FastTypeIdType values for inequality.

constexpr
bool
operator!=(
    FastTypeIdType a,
    FastTypeIdType b);
» more...

Return Value

  • true if the parameter sets are not equal.
  • true if the distributions have differing parameter sets.
  • true if the spans differ.
  • true if a and b point to different positions.
  • true if the iterators are not equal.
  • true if the maps are not equal.
  • true if the sets are not equal.
  • true if the values differ.
  • true if the operands differ.
  • true if a and b refer to different zones.
  • true if lhs does not equal rhs.
  • false if f is empty.
  • true if lhs does not equal rhs; false otherwise.
  • true if the vectors are not equal, false otherwise.
  • true if the arrays differ in size or elements.
  • true if the Cords differ.
  • true if the contents differ.
  • true if a holds a value.
  • true if b holds a value.
  • true if the operands are not equal.
  • true if a does not hold a value equal to b.
  • true if b does not hold a value equal to a.
  • true if the two statuses differ.
  • true if a and b identify different types, false otherwise.

Parameters

NameDescription
aThe first parameter set to compare.
bThe second parameter set to compare.
d1The first distribution to compare.
d2The second distribution to compare.
p1The first parameter set to compare.
p2The second parameter set to compare.
lhsThe left-hand operand.
rhsThe right-hand operand.
fThe AnyInvocable to check.
unusedUnused parameter.
xThe left-hand Cord.
yThe right-hand Cord.