
10 Dec
2009
10 Dec
'09
4:30 p.m.
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--tp... Sent from the Boost - Users mailing list archive at Nabble.com.