mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
24 lines
528 B
C++
24 lines
528 B
C++
#ifndef BEAST_CONTAINER_AGED_MAP_H_INCLUDED
|
|
#define BEAST_CONTAINER_AGED_MAP_H_INCLUDED
|
|
|
|
#include <xrpl/beast/container/detail/aged_ordered_container.h>
|
|
|
|
#include <chrono>
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace beast {
|
|
|
|
template <
|
|
class Key,
|
|
class T,
|
|
class Clock = std::chrono::steady_clock,
|
|
class Compare = std::less<Key>,
|
|
class Allocator = std::allocator<std::pair<Key const, T>>>
|
|
using aged_map = detail::
|
|
aged_ordered_container<false, true, Key, T, Clock, Compare, Allocator>;
|
|
|
|
}
|
|
|
|
#endif
|