lokinet/llarp/util/priority_queue.hpp
dr7ana bfa9629779 More carving + libquic bump
- bumped libquic to begin implementing dependent features on connection open/close signals
- more gutting of interface classes
2023-09-18 14:50:23 -07:00

13 lines
349 B
C++

#pragma once
#include <queue>
#include <vector>
namespace llarp::util
{
/// priority queue that uses operator > instead of operator <
template <typename T, typename Container = std::vector<T>>
using ascending_priority_queue =
std::priority_queue<T, Container, std::greater<typename Container::value_type>>;
} // namespace llarp::util