|
Boost : |
From: me22 (me22.ca_at_[hidden])
Date: 2007-04-19 00:42:35
On 4/18/07, Jeff Garland <jeff_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk