Element type for the tree
Get a range of values bounded below by lower and above by upper, with inclusiveness defined by boundaries. Complexity: O(log(n))
Removes all elements from the container.
Get a range from the container with all elements that are == k according to the less comparator
Insert a single element in the container. Note that this does not invalidate any ranges currently iterating the container.
Insert a range of elements in the container. Note that this does not invalidate any ranges currently iterating the container.
Get a range from the container with all elements that are < k according to the less comparator
Perform mod on r.front and performs any necessary fixups to container's
indices. If the result of mod violates any index' invariant, r.front is
removed from the container.
Preconditions: !r.empty,
mod is a callable of the form void mod(ref Value)
Complexity: O(m(n)),
O(log(n)) for this index
in operator. Check to see if the given element exists in the container.
in operator. Check to see if the given element exists in the container.
Available for Unique variant. Complexity: O(log(n))
Fetch a range that spans all the elements in the container.
Removes the given range from the container.
Remove an element from the container and return its value.
Remove the back element from the container.
Remove the front element from the container.
Removes elements from the container that are equal to the given values according to the less comparator. One element is removed for each value given which is in the container. If allowDuplicates is true, duplicates are removed only if duplicate values are given.
Replaces r.front with value
Get a range from the container with all elements that are > k according to the less comparator
The last element in the container
Check if any elements exist in the container. Returns true if at least one element exists. Complexity: O(1)
The front element in the container
Returns the number of elements in the container.
The range type for this index, which embodies a bidirectional range
ordered index implementation