mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
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
|