Boost logo

Boost :

Subject: Re: [boost] BOOST_NO_INTRINSIC_INT64_T
From: John Maddock (john_at_[hidden])
Date: 2009-03-25 13:39:29


Robert,

What is it that you actually want to know?

Normally folks will:

* Deal with short, int, long etc and then:
* Deal with long long if BOOST_HAS_LONG_LONG is defined.
* Or else deal with __int64 if BOOST_HAS_MS_INT64 is defined.

The alternative is to:

Deal with each int16_t, int32_t etc and then
Deal with int64_t if BOOST_NO_INT64_T is not defined.

Mixing the two approaches is what causes the problems :-)

So... do you serialize by type or by width?

HTH, John.


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