mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
32 lines
635 B
C++
32 lines
635 B
C++
#ifndef BEAST_CONTAINER_AGED_UNORDERED_MAP_H_INCLUDED
|
|
#define BEAST_CONTAINER_AGED_UNORDERED_MAP_H_INCLUDED
|
|
|
|
#include <xrpl/beast/container/detail/aged_unordered_container.h>
|
|
|
|
#include <chrono>
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace beast {
|
|
|
|
template <
|
|
class Key,
|
|
class T,
|
|
class Clock = std::chrono::steady_clock,
|
|
class Hash = std::hash<Key>,
|
|
class KeyEqual = std::equal_to<Key>,
|
|
class Allocator = std::allocator<std::pair<Key const, T>>>
|
|
using aged_unordered_map = detail::aged_unordered_container<
|
|
false,
|
|
true,
|
|
Key,
|
|
T,
|
|
Clock,
|
|
Hash,
|
|
KeyEqual,
|
|
Allocator>;
|
|
|
|
}
|
|
|
|
#endif
|