quantity::dynamic_standardize< Loki::Typelist< Head, Tail > > Struct Template Reference

helper struct to perform dynamic standardization More...

#include <Quantity.h>

List of all members.

Static Public Member Functions

template<class U, class ST>
static ST VAL (const ST &value, const U &unit)


Detailed Description

template<typename Head, typename Tail>
struct quantity::dynamic_standardize< Loki::Typelist< Head, Tail > >

helper struct to perform dynamic standardization

specialization for UL being a Typelist; recursive template VAL recalculates value given in Unit U as if given in a (possibly fictional) standard unit; dynamically selected from overloaded function templates according to U; relies on identity of typeid to identify the polymorphic type of U which could be a reference to a base class;

Definition at line 977 of file Quantity.h.


Member Function Documentation

template<typename Head, typename Tail>
template<class U, class ST>
static ST quantity::dynamic_standardize< Loki::Typelist< Head, Tail > >::VAL ( const ST &  value,
const U &  unit 
) [inline, static]

Definition at line 980 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