TMapBase::OrderIndependentCompareEqual

Compare this map with another for equality.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Map.h

Include

#include "Containers/Map.h"

Syntax

bool OrderIndependentCompareEqual
(
    const TMapBase & Other
) const

Remarks

Compare this map with another for equality. Does not make any assumptions about Key order.

this might be a candidate for operator== but it was decided to make it an explicit function since it can potentially be quite slow.

Returns

True if both this and Other contain the same keys with values that compare ==

Parameters

Parameter

Description

Other

The other map to compare against