rippled
Classes | Public Member Functions | Public Attributes | List of all members
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element Struct Reference
Inheritance diagram for beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element:
Inheritance graph
[legend]
Collaboration diagram for beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element:
Collaboration graph
[legend]

Classes

struct  stashed
 

Public Member Functions

 element (time_point const &when_, value_type const &value_)
 
 element (time_point const &when_, value_type &&value_)
 
template<class... Args, class = typename std::enable_if< std::is_constructible<value_type, Args...>::value>::type>
 element (time_point const &when_, Args &&... args)
 

Public Attributes

value_type value
 
time_point when
 

Detailed Description

template<bool IsMulti, bool IsMap, 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< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
struct beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element

Definition at line 111 of file aged_unordered_container.h.

Constructor & Destructor Documentation

◆ element() [1/3]

template<bool IsMulti, bool IsMap, 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< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element::element ( time_point const &  when_,
value_type const &  value_ 
)

Definition at line 127 of file aged_unordered_container.h.

◆ element() [2/3]

template<bool IsMulti, bool IsMap, 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< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element::element ( time_point const &  when_,
value_type &&  value_ 
)

Definition at line 132 of file aged_unordered_container.h.

◆ element() [3/3]

template<bool IsMulti, bool IsMap, 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< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
template<class... Args, class = typename std::enable_if< std::is_constructible<value_type, Args...>::value>::type>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element::element ( time_point const &  when_,
Args &&...  args 
)

Definition at line 141 of file aged_unordered_container.h.

Member Data Documentation

◆ value

template<bool IsMulti, bool IsMap, 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< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
value_type beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element::value

Definition at line 146 of file aged_unordered_container.h.

◆ when

template<bool IsMulti, bool IsMap, 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< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
time_point beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::element::when

Definition at line 147 of file aged_unordered_container.h.