C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Represent the dimensions in an array type as a sequence of numbers. More...
#include <exercise-5-7.hpp>
Additional Inherited Members | |
![]() | |
typedef dimensions_b_tag | tag |
typedef boost::mpl::void_ | next |
typedef boost::mpl::void_ | prev |
Represent the dimensions in an array type as a sequence of numbers.
The dimensions sequence is a recursively defined sequence that strips off a single array dimension as you advance through the sequence. The recently stripped dimension exists as a static member (value).
T | The (compound) array type to examine. If T is not an array type, the sequence is not traverse-able. |
Definition at line 97 of file exercise-5-7.hpp.