Boost logo

Boost Users :

Subject: Re: [Boost-users] [integer]/cstdint.hpp How to use portableliterals?
From: John Maddock (john_at_[hidden])
Date: 2009-12-10 04:37:40


>> You need to ensure that __STDC_CONSTANT_MACROS is defined *before any
>> headers are #included* in order to use that macro.
>
> Doesn't boost/cstdlib.hpp provide a way to define boost::intmax_t literals
> in a portable way?

It implements <cstdint> for better or worse,

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net