|
Boost Users : |
Subject: Re: [Boost-users] [integer]/cstdint.hpp How to use portableliterals?
From: Vicente Botet Escriba (vicente.botet_at_[hidden])
Date: 2009-12-10 11:30:15
John Maddock wrote:
>
>
> I'm thinking that maybe we should change boost/cstdint.hpp to follow C++0x
> and always define these macros, any objections or problems if we do that?
>
>
>
Yes, please. Otherwise the user will need to do something that will be less
portable
#ifdef INTMAX_C
#define BOOST_XX_INTMAX_C(a) INTMAX_C(a)
#else
#define BOOST_XX_INTMAX_C(a) a##LL
// or something based on the type size and the compiler as boost/cstdint.hpp
does
#endif
Best,
Vicente
-- View this message in context: http://old.nabble.com/-integer--cstdint.hpp-How-to-use-portable-literals--tp26709410p26730337.html Sent from the Boost - Users mailing list archive at Nabble.com.
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