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

helper struct to perform dynamic reverse 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_reverse< Loki::Typelist< Head, Tail > >

helper struct to perform dynamic reverse standardization

specialization for UL being a Typelist; recursive template VAL recalculates value given in a (possibly fictional) standard unit as if given in Unit U; 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 1014 of file Quantity.h.


Member Function Documentation

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

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