|
C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Modify zip_iterator category to be "least refined.".
More...
Files | |
| file | exercise-7-2.hpp |
| Solution to Exercise 7-2. | |
Namespaces | |
| namespace | test_7_2 |
| Tests functionality from Exercise 7-2. | |
Modify zip_iterator category to be "least refined.".
7-2. Modify your zip_iterator so that its iterator category reflects the
least-refined concept modeled by any of its underlying iterators.
Extend the iterator implementation to satisfy all potential requirements
of the computed category.