
19 Apr
2007
19 Apr
'07
4:42 a.m.
On 4/18/07, Jeff Garland <jeff@crystalclearsoftware.com> wrote:
Michael Marcin wrote:
AFAIK Boost.Integer doesn't support 64-bit types which forced me to roll my own solution.
That's incorrect. There is support for 64-bit types. The documentation, unfortunately, doesn't say so -- you have to read the header. I use boost::int64_t and boost::uint64_t in date-time -- works on every platform boost is ported to AFAIK.
Boost does have 64-bit types in cstdint.hpp, but boost.integer doesn't support them yet for uint_t, int_max_value_t, and such: http://boost.cvs.sourceforge.net/boost/boost/boost/integer.hpp?view=markup There are patches floating around for it, though: http://tinyurl.com/2gq3xt ~ Scott McMurray