Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 1999-08-17 13:24:22


Beman> * As an implementation artifact unrelated to the
specification,
Beman> <boost/stdint.h> and thus <boost/cstdint.hpp> #include
<limits.h>.
Beman> This allows an implementation portable to many (most?) modern
Beman> computer systems, but has the side effect of defining a bunch
of
Beman> macros (xxx_MAX/xxx_MIN/etc). Should these be #undef'ed at
the end
Beman> of boost/stdint.h?

Greg> Yes.

Valentin> Certainly not ! Never ever do that ! These have reserved
names.
Valentin>
Valentin> Anyway, DO_THEY_REALLY_HURT ?

For the moment, I will leave the macros in there (for the
implementations which use <limits.h>) unless someone comes up with a
killer argument. But again, they are just an implementation
artifact, and will disappear as more compilers ship <stdint.h>.
Metrowerks is doing so already.

--Beman


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