Max
-
template<typename Value, typename KeyExtractor = ValueExtractor, typename Comp = MaxComparator>
struct Max Max mixin adds support for finding the maximum value in a B++ tree in O(log N) time You can find just the max value using the max() method or get an iterator pointing to the max element with max_element() You can also find the max value/element in a subrange of the tree with max(it1, it2) or max_element(it1, it2)
- Template Parameters:
Value – the value type of the B++ tree
KeyExtractor – a class which implements operator()(Value) to return the field within the value type that is used for determining the max
Comp – a class which implements operator()(A const& a, B const& b) to return true if a > b and false otherwise
Public Types
-
template<typename Parent, auto internal_size>
using InternalNode = typename Detail::template InternalNode<Parent, internal_size>
Public Static Functions
-
static inline constexpr size_t sizeof_hint()
Public Types
Public Functions