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

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> ST VAL (const ST &value, const U &unit)


Detailed Description

template<class Head, class 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 1034 of file Quantity.h.


Member Function Documentation

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

Definition at line 1037 of file Quantity.h.


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