Implementation of trivial iterator structure