Synopsis

Declared in <mp‐units/framework/compare.h>

template<typename T>
requires requires {
    { T::zero() } ‐> std::equality_comparable_with<T>;
  }
[[deprecated("2.6.0: compare against literal `0` instead"), nodiscard]]
constexpr
bool
is_neq_zero(T v);
Warning

Deprecated: 2.6.0: compare against literal `0` instead. Use of this entity is allowed but discouraged.

Return Value

Note

The return value should not be discarded.

Created with MrDocs