C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
"This chapter covers the user of sequence views." More...
Modules | |
Exercise 7-0 | |
Use zip_view . | |
Exercise 7-1 | |
Why use transform_view ? | |
Exercise 7-2 | |
Modify zip_iterator category to be "least refined.". | |
Exercise 7-3 | |
Implement rotate_view sequence view. | |
Exercise 7-4 | |
Create permutation_iterator . | |
Exercise 7-5 | |
Change permutation_iterator traversal. | |
Exercise 7-6 | |
Create permutation_view from permutation_iterator . | |
Exercise 7-7 | |
Create a reverse view and iterator. | |
Exercise 7-8 | |
Create crossproduct_view . | |
Files | |
file | chapter-7-permutation_view.hpp |
Defines a view of a sequence that appears to alter the elements' order. | |
file | chapter-7-zip_view.hpp |
"Zip" corresponding elements of N arrays into a sequence of N-length subsequences. | |
file | chapter-7.cpp |
Test application for Chapter 7. | |
Namespaces | |
namespace | chapter7 |
Provide utilities availble to all Chapter 7 solutions. | |
"This chapter covers the user of sequence views."
C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond.