Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/IsHeap.h |
Include |
#include "Algo/IsHeap.h" |
namespace Algo
{
template<typename RangeType>
bool Algo::IsHeap
(
RangeType & Range
)
}
Verifies that the range is a min-heap (parent <= child). Assumes < operator is defined for the element type.
returns true if the range is a min-heap
Parameter |
Description |
---|---|
Range |
The range to verify. |