Boost logo

Boost :

Subject: Re: [boost] Adding detection of [u]intptr_t to Boost.Config (moving it from cstdint.hpp)
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-05-30 13:53:01


> Andrey, John: My motivation was that it fits in the category of
> compiler/standard library feature detection useful for Boost library
> authors who only want that particular feature of Boost.Integer and
> prefer not to pull in boost::<integer types> just for that detection.

OK. Note, however that the location of those types may vary by
compiler/platform - the only way to be sure you've pulled in the correct
header is to include <boost/cstdint.hpp>. On the other hand, if you're
relying on <stdint.h> then BOOST_HAS_STDINT_H looks to do what you want
anyway?

John.


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