May 2017
Intermediate to advanced
590 pages
17h 18m
English
To provide mutable and constant random access iterators for the dummy_array class shown in the previous section, add the following members to the class:
template <typename T, size_t const Size> class dummy_array_iterator { public: typedef dummy_array_iterator self_type; typedef T value_type; typedef T& reference; typedef T* pointer; typedef std::random_access_iterator_tag iterator_category; typedef ptrdiff_t difference_type; };
private: ...
Read now
Unlock full access