I have implemented my own container class and need to implement a const_iterator for it. What is the easiest way to go about implementing const_iterator begin() const_iterator end() and const_iterator::operator++ for my own container class?
Please provide examples. Thanks!