GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
PriorityQueue.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_CORE_DATA_PRIORITY_QUEUE_HPP
5#define GREM_CORE_DATA_PRIORITY_QUEUE_HPP
6
8
11
12#include <functional> // std::less
13#include <memory> // std::allocator
14#include <queue> // std::priority_queue
15
16namespace grem {
17
18template <typename T, typename Container = ArrayList<T, std::allocator<T>>, typename Compare = std::less<typename Container::value_type>>
19using PriorityQueue = std::priority_queue<T, Container, Compare>;
20
21} // namespace grem
22
23#endif
Definition aliases.hpp:9
std::priority_queue< T, Container, Compare > PriorityQueue
Definition PriorityQueue.hpp:19