Min
-
template<typename Value, typename KeyExtractor = ValueExtractor, typename Comp = MinComparator>
struct Min Min mixin adds support for finding the minimum value in a B++ tree in O(log N) time You can find just the min value using the min() method or get an iterator pointing to the min element with min_element() You can also find the min value/element in a subrange of the tree with min(it1, it2) or min_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 min
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