|
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2001-09-23 23:49:34
An unit problem was that of units that look dimensionally identical, but
have different semantics, like regular numbers v. radians v. steradians.
Maybe that problems could be solved with another template parameter, a
value-based template parameter of type const char *. Global strings (char
arrays) can be used as template parameters; we could use the empty string
("") as the 'default' unit of that dimension, if any, and use other strings
for variant units.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk