Inequality comparison for DenseMap.

Synopsis

Declared in <llvm/ADT/DenseMap.h>

template<
    typename DerivedT,
    typename KeyT,
    typename ValueT,
    typename KeyInfoT,
    typename BucketT>
[[nodiscard]]
bool
operator!=(
    DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT> const& LHS,
    DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT> const& RHS);

Description

Equivalent to !(LHS == RHS). See operator== for performance notes.

Return Value

True if the maps differ in size or contents.

Note

The return value should not be discarded.

Parameters

Name

Description

LHS

Left‐hand map.

RHS

Right‐hand map.

Created with MrDocs