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 87 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 93 of file Quantity.h.


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

Generated on Wed Apr 11 18:07:11 2012 for Quantities by  doxygen 1.5.6