Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Class extending the list class from the standard library. Original reason is to allow printing of the container with overloaded operator <<. More...
#include <list.hpp>
Public Member Functions | |
list ()=default | |
list (const list &other)=default | |
list (list &&other)=default | |
list & | operator= (list &&other)=default |
list & | operator= (const list &other)=default |
template<class Iterator > | |
list (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 () && |
Inherited behavior 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 () && |
Inherited behavior 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... | |
Class extending the list class from the standard library. Original reason is to allow printing of the container with overloaded operator <<.
The class mimics the behavior of the list from the standatd library.
T | the type of values inside the list |
Alloc | the allocator of values of type T |
Default constructor needed by g++ since it is not inherited
|
default |
Copy constructor needed by g++ since it is not inherited
|
default |
Move constructor needed by g++ since it is not inherited
|
inlineexplicit |
Constructor from range of values.
Iterator | the type of range iterator |
range | the source range |
|
inline |
Inherited behavior of begin for non-const instance.
|
inline |
Inherited behavior of begin for rvalues.
|
inline |
Inherited behavior of begin for const instance.
|
inline |
Inherited behavior of end for non-const instance.
|
inline |
Inherited behavior of end for rvalues.
|
inline |
Inherited behavior of end for const instance.
|
default |
Move operator = needed by g++ since it is not inherited
|
default |
Copy operator = needed by g++ since it is not inherited
|
inline |
Make range of non-const begin to end iterators.
|
inline |
Make range of move begin to end iterators.
|
inline |
Make range of non-const begin to end iterators.