Module |
|
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::CompareByPredicate
(
InAT && InputA,
InBT && InputB,
PredicateT Predicate
)
}
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.
Parameter |
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. |