Boost logo

Boost :

From: Dave Steffen (steffend_at_[hidden])
Date: 2001-01-12 12:39:20


Jeremy Siek writes:
[...]
> Even better would be for boost to have some sort of number_traits
> class that defines one() and zero() functions.

 Cheers and support from the back of the room... I've always felt just
 a little uncomfortable assuming that the default constructor
 generates an object with value "zero" (for some appropriate
 definition of "zero"). What if the appropriate default behavior is
 something more like "one"?

--------------------------------------------------------------------------
Dave Steffen Wave after wave will flow with the tide
Dept. of Physics And bury the world as it does
Colorado State University Tide after tide will flow and recede
steffend_at_[hidden] Leaving life to go on as it was...
                                                        - Peart / RUSH
"The reason that our people suffer in this way....
is that our ancestors failed to rule wisely". -General Choi, Hong Hi


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