Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2007-12-24 09:42:10


Igor Mikushkin wrote:
> 2007/12/24, Jeff Garland <jeff_at_[hidden]>:
>> Igor Mikushkin wrote:
>>> As I understand the integer.hpp does not support
>>> types over 32 bits at present.
>> Not true -- where'd you get that idea?
>
>>From integer.hpp file :)
> I have boost 1.33.1, but if you go to
> boost site -> documentation -> integer -> integer.hpp
> you will see.

Ok, this looks like it could be improved.

>>> I suppose it is not too hard to implement other
>>> needed integer types (like _int64, _int128 on Microsoft and Intel compilers)
>>> using types from boost/cstdint.hpp file.
>> You can use the following:
>>
>> boost::int64_t
>> boost::uint64_t
>>
>> I use these and date-time and they are well defined everywhere.
>>
>
> Yes, it is well defined, but my program is very templated
> and I rely on syntax like int_t <some_number> :: type;

What I meant is that these are defined on all platforms. So will these not
work for you?

Jeff


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