19template<
typename T, std::
size_t N,
typename IsLess = std::less<T>>
25 TArrayHeap()
requires std::default_initializable<IsLess>;
51 std::size_t
size()
const;
59 std::array<T, N> m_data;
62 [[no_unique_address]] IsLess m_isLess;
A fixed size heap backed by an array. The container inherits the properties of a fixed size array of ...
Definition TArrayHeap.h:21
TArrayHeap()
Definition TArrayHeap.ipp:14
void pop()
Removes the top item from the heap. The item originally at the target index is still alive after this...
Definition TArrayHeap.ipp:36
bool isEmpty() const
Definition TArrayHeap.ipp:75
void clear()
Definition TArrayHeap.ipp:69
std::size_t size() const
Definition TArrayHeap.ipp:61
void push(U &&item)
Adds an item to the heap. The item originally at the target index will be overwritten.
Definition TArrayHeap.ipp:27
T & top()
Access the top item of the heap. By default, the top item is the maximum item (max heap)....
Definition TArrayHeap.ipp:45
The root for all renderer implementations.
Definition EEngineProject.h:6