Closed philip-paul-mueller closed 2 months ago
The target member of the MyIterator class was used as if it was a reference, but it is a pointer. Furthermore, the increment operator used advance() as a static function, which it is not.
target
MyIterator
advance()
Thanks!
The
target
member of theMyIterator
class was used as if it was a reference, but it is a pointer. Furthermore, the increment operator usedadvance()
as a static function, which it is not.