Grok 20.3.2
grk::MinHeapComparator< T > Struct Template Reference

Comparator for min-heap ordering based on getIndex() (value version). More...

#include <MinHeap.h>

Public Member Functions

bool operator() (const T &a, const T &b) const

Detailed Description

template<typename T>
requires HasGetIndex<T>
struct grk::MinHeapComparator< T >

Comparator for min-heap ordering based on getIndex() (value version).

Template Parameters
TType stored in the heap, must satisfy HasGetIndex.

Member Function Documentation

◆ operator()()

template<typename T>
bool grk::MinHeapComparator< T >::operator() ( const T & a,
const T & b ) const
inline

The documentation for this struct was generated from the following file: