
30 May
2014
30 May
'14
5:53 p.m.
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.