xrpld
Loading...
Searching...
No Matches
aged_unordered_map.h
1#pragma once
2
3#include <xrpl/beast/container/detail/aged_unordered_container.h>
4
5#include <chrono>
6#include <functional>
7#include <memory>
8
9namespace beast {
10
11template <
12 class Key,
13 class T,
14 class Clock = std::chrono::steady_clock,
15 class Hash = std::hash<Key>,
16 class KeyEqual = std::equal_to<Key>,
17 class Allocator = std::allocator<std::pair<Key const, T>>>
20
21} // namespace beast
Associative container where each element is also indexed by time.
detail::AgedUnorderedContainer< false, true, Key, T, Clock, Hash, KeyEqual, Allocator > aged_unordered_map