Boost logo

Boost :

From: e_d_k_at_[hidden]
Date: 2001-04-23 16:59:21


I have a Dimentional Analysis Library I have devveloped. Ity allows code to be written like this:

Distance l;
Volume v;
Speed s;
Density d;
Mass m;
Energy e

v = 12 * cc;
d = 12 * Kg / teaspoon;
m = d * v;
l = 1.3 * rods;
s = 23 * mph;
e = 0.5 * m * pow<2>(v);

If there are any errors in dimentioanality it will generate a compile error.

     -EdK


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