Skip to content

O-Hatem/STL-like-List

Repository files navigation

Custom STL List

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()

About

STL-like List implements the iterator class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages