Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-09-29 05:35:19

> I can change the code to use something other than int64_t, but what?
> we add both longlong_t and ulonglong_t that are typedef'd to long long if
> supported, or else int64_t for MSVC?

You could use BOOST_HAS_LONG_LONG (for long long) and BOOST_HAS_MS_INT64
(for __int64) to detect which types are available in addition to the
standard integer types, note that sometimes both macros are defined, and
*may* refer to the same underlying type, so use long long in preference to
__int64 if offered the choice.

John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at