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

dimension::DimensionEquality< Loki::Typelist< DL1Head, DL1Tail >, Loki::Typelist< DL2Head, DL2Tail > > Struct Template Reference

determine equality of two dimension lists More...

#include <Dimension.h>

List of all members.

Public Types

enum  { EQ }
 return value More...


Detailed Description

template<class DL1Head, class DL2Head, class DL1Tail, class DL2Tail>
struct dimension::DimensionEquality< Loki::Typelist< DL1Head, DL1Tail >, Loki::Typelist< DL2Head, DL2Tail > >

determine equality of two dimension lists

specialization for two typelists, characterized by their respective Head and Tail; it is assumed that the typelists consist of (seven) Rational numbers; recursive template.

Definition at line 414 of file Dimension.h.


Member Enumeration Documentation

template<class DL1Head, class DL2Head, class DL1Tail, class DL2Tail>
anonymous enum
 

return value

recursively determined by inspecting the two Heads (by compile time determination of these two Rational numbers) and then calling itself on the two Tail parts of the typelists; if any comparison determines a difference between the Rationals, the return value is 0, else it is 1.

Enumeration values:
EQ 

Definition at line 425 of file Dimension.h.


The documentation for this struct was generated from the following file:
Generated on Sun Jan 15 14:05:21 2006 for Quantity by doxygen 1.3.6