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-6.hpp>
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 60 of file exercise-5-6.hpp.