Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-03-26 11:58:05


On Sat, 26 Mar 2005 08:54:42 -0500, Beman Dawes wrote
> Yes, but there are two ways around the problem. (1) Use long long.
> Almost all late-model C++ compilers already support long long, and
> the C++ committee is in process of adding it to the language. (2)
> Make it an implementation-defined type which must be able to hold
> the largest value the operating system supports. That means int or
> long is fine if sufficient for the platform. It also means that a
> type like __int64 could be used, or even long long itself.

Before long long is standard you can use boost::int64_t takes care of the
portability issues of long long versus __int64 for all the platforms we are
currently supporting.

Jeff


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