Dave Aronson's C++ Units of Measure


This is a set of classes (and objects and sample programs) in C++, aimed at preventing programming errors that result from mismatched units of measure. The best-known recent example would be the Mars Lander crash, blamed on mixing metric and so-called "English" units. Using this library, that would have thrown an exception, so the error would have been much easier to catch in testing. Files include:

If you have any questions, feel free to email me.


[ Home ]|[ Dave's Software ]|[ Email ]