Huy Vũ Quang

29 bundles
1 filea month ago
1

STL Iterator

iterator

12345678910111213
class iterator : public std::iterator<std::output_iterator_tag, int> { public: int operator*() const; iterator & operator++(); iterator operator++(int); private: iterator(CustomVector & container, size_t index = 0); size_t nIndex = 0; CustomVector& container; };