Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo > API/Runtime/Core/Algo/Algo__Compare
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Algo/Compare.h |
| Include | #include "Algo/Compare.h" |
namespace Algo
{
template<typename InAT, typename InBT, typename PredicateT>
constexpr bool Algo&58;&58;Compare
&40;
InAT && InputA,
InBT && InputB,
PredicateT Predicate
&41;
}
Remarks
Compares two contiguous containers using a predicate to compare pairs of elements. Whether the containers are the same size and the predicate returned true for every pair of elements.
Parameters
| Name | Description |
|---|---|
| InputA | Container of elements that are used as the first argument to the predicate. |
| InputB | Container of elements that are used as the second argument to the predicate. |
| Predicate | Condition which returns true for elements which are deemed equal. |