xrpld
Loading...
Searching...
No Matches
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element Struct Reference
Inheritance diagram for beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element:
Collaboration diagram for beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element:

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 = std::enable_if_t<std::is_constructible_v<value_type, Args...>>>
 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 Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
struct beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element

Definition at line 86 of file aged_ordered_container.h.

Constructor & Destructor Documentation

◆ Element() [1/3]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element::Element ( time_point const & when,
value_type const & value )

Definition at line 101 of file aged_ordered_container.h.

◆ Element() [2/3]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element::Element ( time_point const & when,
value_type && value )

Definition at line 105 of file aged_ordered_container.h.

◆ Element() [3/3]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
template<class... Args, class = std::enable_if_t<std::is_constructible_v<value_type, Args...>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element::Element ( time_point const & when,
Args &&... args )

Definition at line 112 of file aged_ordered_container.h.

Member Data Documentation

◆ value

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
value_type beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element::value

Definition at line 117 of file aged_ordered_container.h.

◆ when

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
time_point beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::Element::when

Definition at line 118 of file aged_ordered_container.h.