rippled
Loading...
Searching...
No Matches
include
xrpl
beast
container
aged_unordered_set.h
1
//------------------------------------------------------------------------------
2
/*
3
This file is part of Beast: https://github.com/vinniefalco/Beast
4
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
5
6
Permission to use, copy, modify, and/or distribute this software for any
7
purpose with or without fee is hereby granted, provided that the above
8
copyright notice and this permission notice appear in all copies.
9
10
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
*/
18
//==============================================================================
19
20
#ifndef BEAST_CONTAINER_AGED_UNORDERED_SET_H_INCLUDED
21
#define BEAST_CONTAINER_AGED_UNORDERED_SET_H_INCLUDED
22
23
#include <xrpl/beast/container/detail/aged_unordered_container.h>
24
25
#include <
chrono
>
26
#include <
functional
>
27
#include <
memory
>
28
29
namespace
beast
{
30
31
template
<
32
class
Key,
33
class
Clock =
std::chrono::steady_clock
,
34
class
Hash =
std::hash<Key>
,
35
class
KeyEqual =
std::equal_to<Key>
,
36
class
Allocator =
std::allocator<Key>
>
37
using
aged_unordered_set
=
detail::aged_unordered_container
<
38
false
,
39
false
,
40
Key,
41
void,
42
Clock,
43
Hash,
44
KeyEqual,
45
Allocator>;
46
47
}
48
49
#endif
std::allocator
chrono
beast::detail::aged_unordered_container
Associative container where each element is also indexed by time.
Definition
aged_unordered_container.h:88
std::equal_to
functional
std::hash
memory
beast
Definition
base_uint.h:672
std::chrono::steady_clock
Generated by
1.9.8