Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Algo::Compare
(
const InAT& InputA, |
Compares two contiguous containers using operator== to compare pairs of elements. | Algo/Compare.h | |
bool Algo::Compare
(
const InAT& InputA, |
Compares two contiguous containers using a predicate to compare pairs of elements. | Algo/Compare.h |
Algo::Compare(const InAT &, const InBT &)
Description
Compares two contiguous containers using operator== to compare pairs of elements.
| Name | Algo::Compare |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/Compare.h |
| Include Path | #include "Algo/Compare.h" |
namespace Algo
{
template<typename InAT, typename InBT>
bool Algo::Compare
(
const InAT & InputA,
const InBT & InputB
)
}
Whether the containers are the same size and operator== returned true for every pair of elements.
Parameters
| Name | Remarks |
|---|---|
| InputA | Container of elements that are used as the first argument to operator==. |
| InputB | Container of elements that are used as the second argument to operator==. |
Algo::Compare(const InAT &, const InBT &, PredicateT)
Description
Compares two contiguous containers using a predicate to compare pairs of elements.
| Name | Algo::Compare |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/Compare.h |
| Include Path | #include "Algo/Compare.h" |
namespace Algo
{
template<typename InAT, typename InBT, typename PredicateT>
bool Algo::Compare
(
const InAT & InputA,
const InBT & InputB,
PredicateT Predicate
)
}
Whether the containers are the same size and the predicate returned true for every pair of elements.
Parameters
| Name | Remarks |
|---|---|
| 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. |