I created list and iterator classes to be as close to the STL list and STL iterator as possible
-
Iterator class
- constructor
- copy ctor
- copy assignment operator (=)
- move ctor
- move assignment operator (=)
- operator++()
- operator++(type)
- operator--()
- operator--(type)
- operator*()
- operator==(it)
- operator!=(it)
- operator<(it)
- operator>(it)
- operator<=(it)
- operator>=(it)
- operator-(it)
- operator+=(size_t)
- operator-=(size_t)
- operator+(size_t)
- operator-(size_t)
-
List class
- default ctor
- parametrized ctor
- initializer list ctor
- copy ctor
- dtor
- insert(type, pos)
- erase(pos)
- operator=(List)
- begin()
- end()
- size()
- empty()
- printList()