|
| set ()=default |
|
| set (const set &other)=default |
|
| set (set &&other)=default |
|
set & | operator= (set &&other)=default |
|
set & | operator= (const set &other)=default |
|
template<class Iterator > |
| set (const ext::iterator_range< Iterator > &range) |
|
auto | begin () & |
| Inherited behavior of begin for non-const instance. More...
|
|
auto | begin () const & |
| Inherited behavior of begin for const instance. More...
|
|
auto | begin () && |
| New variant of begin for rvalues. More...
|
|
auto | end () & |
| Inherited behavior of end for non-const instance. More...
|
|
auto | end () const & |
| Inherited behavior of end for const instance. More...
|
|
auto | end () && |
| New variant of end for rvalues. More...
|
|
auto | range () & |
| Make range of non-const begin to end iterators. More...
|
|
auto | range () const & |
| Make range of non-const begin to end iterators. More...
|
|
auto | range () && |
| Make range of move begin to end iterators. More...
|
|
template<class K > |
auto | equal_range (K &&key) const & |
| Make range of elements with key equal to the key . More...
|
|
template<class K > |
auto | equal_range (K &&key) & |
| Make range of elements with key equal to the key . More...
|
|
template<class K > |
auto | equal_range (K &&key) && |
| Make range of elements with key equal to the key . More...
|
|
template<typename T, typename Cmp = std::less < >, typename Alloc = std::allocator < T >>
class ext::set< T, Cmp, Alloc >
Class extending the set class from the standard library. Original reason is to allow printing of the container with overloaded operator <<.
The class mimics the behavior of the set from the standatd library.
- Template Parameters
-
T | the type of keys inside the set |
Cmp | the comparator type used to order keys |
Alloc | the allocator of values of type T |