quantity::CheckDimensionality< Q > Struct Template Reference

helper struct, check whether quantity Q is dimensionless More...

#include <Quantity.h>

List of all members.

Static Public Attributes

static const bool RET
 pseudo return value


Detailed Description

template<typename Q>
struct quantity::CheckDimensionality< Q >

helper struct, check whether quantity Q is dimensionless

produce compile time error if Q is NOT dimensionless, when trying to expand DimensionError<true>, which is not defined; RET is a boolean constant which is set to true if Q is dimensionless.

Definition at line 333 of file Quantity.h.


Member Data Documentation

template<typename Q>
const bool quantity::CheckDimensionality< Q >::RET [static]

Initial value:

pseudo return value

set to true if Q is dimensionless

Definition at line 339 of file Quantity.h.


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