
Hi, ----- Original Message ----- From: "John Maddock" <john@johnmaddock.co.uk> To: <boost-users@lists.boost.org> Sent: Wednesday, December 09, 2009 1:55 PM Subject: Re: [Boost-users] [integer]/cstdint.hpp How to use portableliterals?
I need to use boost::intmax_t literals in a portable way. I remember some discussion related to this subject, but I've not found the thread. Could
someone point me to these threads, or tell me how I can achieve this.
I'm currently using the macro INTMAX_C, but it seems that this macro is not always defined.
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? Vicente