Update c++/iterator_class.cpp