Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2002-11-26 11:52:22


Robert Ramey wrote:

> We should discuss whether to use short, int, long ... as the primitive
> types or int8_t, int16_t, int32_t, int64_t. The latter makes it easier
> to write portable archives, the former seems more natural. I can
> accept both choices but we should not mix the two as is done now.

For who would it be less natural to use int32_t, etc instead of int,
etc? Not the end user of the archive, right? And I think the writer of
the archive would be more concerned with portability. And even he/she is
not, the burden is not that great, is it?

AFAICT the advantages of int32_t etc outweigh the disadvantages. But
perhaps I'm missing something?

Regards,
Dirk Gerrits


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