TMapBase::OrderIndependentCompareEqual

Compare this map with another for equality.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss