CCF
|
#include <contiguous_set.h>
Classes | |
struct | ConstIterator |
Public Types | |
using | Range = std::pair< T, size_t > |
using | Ranges = std::vector< Range > |
Public Member Functions | |
ContiguousSet ()=default | |
template<typename It > | |
ContiguousSet (It &&begin, It &&end) | |
ContiguousSet (const T &from, size_t additional) | |
bool | operator== (const ContiguousSet &other) const |
bool | operator!= (const ContiguousSet &other) const |
const Ranges & | get_ranges () const |
size_t | size () const |
bool | empty () const |
bool | insert (const T &t) |
bool | erase (const T &t) |
void | extend (const T &from, size_t additional) |
bool | contains (const T &t) const |
ConstIterator | find (const T &t) const |
ConstIterator | lower_bound (const T &t) const |
ConstIterator | upper_bound (const T &t) const |
void | clear () |
T | front () const |
T | back () const |
ConstIterator | begin () const |
ConstIterator | end () const |
using ccf::ds::ContiguousSet< T >::Range = std::pair<T, size_t> |
using ccf::ds::ContiguousSet< T >::Ranges = std::vector<Range> |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |