unit::GenComposedList< Loki::Typelist< U1, U1Tail >, Loki::Typelist< Loki::Typelist< U, UTail >, CULTail > > Struct Template Reference

generate a list of unit combinations to be composed More...

#include <Unit.h>

List of all members.

Public Types

typedef
BSUtilities::Concatenate
< typename
GenComposedList< U1,
Loki::Typelist
< Loki::Typelist< U,
UTail >, CULTail >
>::List, typename
GenComposedList
< U1Tail,
Loki::Typelist
< Loki::Typelist< U,
UTail >, CULTail >
>::List >::Result 
List


Detailed Description

template<class U1, class U, class UTail, class U1Tail, class CULTail>
struct unit::GenComposedList< Loki::Typelist< U1, U1Tail >, Loki::Typelist< Loki::Typelist< U, UTail >, CULTail > >

generate a list of unit combinations to be composed

specialization for adding a List of Units to a previous ComposedList, i.e. first argument being a Loki::Typelist of units to be applied, and second argument being a Loki::Typelist of Loki::Typelists; this adds the unit U1 to all elements in the list of composed units and then recurses to apply all other units.

Definition at line 741 of file Unit.h.


Member Typedef Documentation

template<class U1, class U, class UTail, class U1Tail, class CULTail>
typedef BSUtilities::Concatenate<typename GenComposedList<U1, Loki::Typelist<Loki::Typelist<U, UTail>, CULTail> >::List, typename GenComposedList<U1Tail, Loki::Typelist<Loki::Typelist<U, UTail>, CULTail> >::List>::Result unit::GenComposedList< Loki::Typelist< U1, U1Tail >, Loki::Typelist< Loki::Typelist< U, UTail >, CULTail > >::List

Definition at line 749 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 27 15:55:49 2009 for Quantities by  doxygen 1.5.3