C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
exercise_5_7::dimensions_b_impl< T, Next > Struct Template Reference

Implement the dimensions_b sequence. More...

#include <exercise-5-7.hpp>

Inheritance diagram for exercise_5_7::dimensions_b_impl< T, Next >:

Public Types

typedef dimensions_b_tag tag
 
typedef boost::mpl::void_ next
 
typedef boost::mpl::void_ prev
 

Detailed Description

template<typename T, typename Next>
struct exercise_5_7::dimensions_b_impl< T, Next >

Implement the dimensions_b sequence.

Note
This non-specialized version should only be used for a non-array T type (i.e., an empty list).
Template Parameters
TThe compound array type to examine.
NextThe next item in the sequence (saved as we build the sequence).

Definition at line 54 of file exercise-5-7.hpp.

Member Typedef Documentation

◆ next

template<typename T , typename Next >
typedef boost::mpl::void_ exercise_5_7::dimensions_b_impl< T, Next >::next

Definition at line 59 of file exercise-5-7.hpp.

◆ prev

template<typename T , typename Next >
typedef boost::mpl::void_ exercise_5_7::dimensions_b_impl< T, Next >::prev

Definition at line 60 of file exercise-5-7.hpp.

◆ tag

template<typename T , typename Next >
typedef dimensions_b_tag exercise_5_7::dimensions_b_impl< T, Next >::tag

Definition at line 57 of file exercise-5-7.hpp.


The documentation for this struct was generated from the following file: