Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

unit::GenPowers< Loki::Typelist< CELHead, CELTail > > Struct Template Reference

generate a list of powers for composed units More...

#include <Unit.h>

List of all members.

Public Types

typedef Loki::Typelist< typename
CELHead::Power, typename GenPowers<
CELTail >::Powers > 
Powers


Detailed Description

template<class CELHead, class CELTail>
struct unit::GenPowers< Loki::Typelist< CELHead, CELTail > >

generate a list of powers for composed units

specialization for a typelist of compound elements; stores the power in the head element into Powers; recursive template

Definition at line 833 of file Unit.h.


Member Typedef Documentation

template<class CELHead, class CELTail>
typedef Loki::Typelist<typename CELHead::Power, typename GenPowers<CELTail>::Powers> unit::GenPowers< Loki::Typelist< CELHead, CELTail > >::Powers
 

Definition at line 836 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Mon Feb 12 18:44:02 2007 for Quantity by doxygen 1.3.6