Boost logo

Boost :

From: Ben Strasser (strasser.ben_at_[hidden])
Date: 2006-08-29 14:15:58


Deane Yang <deane_yang <at> yahoo.com> writes:

> The new version does indeed compile with VC8. Thanks!
>
> Did I mention I'd like to be able to use my own number types (not
> built-in)? Would that be possible, too?

Yes that is possible. There are 3 template parameters to the unit class. First
te quantitiy, then the modifier and finally the raw number type.

Infact it's not only limited to numbers. Everything that looks in some way like
a number can be used. Vectors for example.


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