Boost logo

Boost :

From: Kasper Peeters (kasper.peeters_at_[hidden])
Date: 2003-04-20 08:46:51


> b6- operations over set of different dimensions (e.g. result of length /
> time should be speed type),
> [...]
> c2- Dimnum library: similar to SIunits in functionality: doesn't provide
> b6-9.

b6 is handled by dimnum:

   class si::velocity<float> v;
   class si::length<float> l;
   class si::time<float> t;
   v = l/t; // accepted
   v = l/t/t; // flagged as error

Or do you mean something else with b6?

Kasper


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk