Template Class SortedListSet
Defined in File SortedListSet.h
Class Documentation
-
template<std::totally_ordered T>
class SortedListSet a set as a list sorted in increasing order
Public Types
-
using size_type = std::size_t
-
using difference_type = std::ptrdiff_t
-
using iterator = const_iterator
Public Functions
-
SortedListSet(void) = default
-
std::size_t size(void) const
-
bool empty(void) const
-
void insertLast(const T &x)
appends x, larger than all the items, O( 1 ) time
- Pre:
the set is empty or its largest item is smaller than x
-
inline const_iterator begin(void) const
-
inline const_iterator end(void) const
-
inline const_iterator cbegin(void) const
-
inline const_iterator cend(void) const
-
using size_type = std::size_t