On Tue, 9 Aug 2011, Rainer Orth wrote:
This patch achieves what all the previous ones have prepared: finally
defining __cplusplus correctly instead of the current 1. I'm uncertain
if it's already appropriate to define the C++ 2011 value yet, but I've
kept it in the patch.
Hello,
I don't think we should define the C++ 2011 value yet. In my opinion, we
should wait until:
1) the standard is official
2) gcc implements most of it: people will want to use __cplusplus as a
test to know if they can use C++0X features, not if the compiler does some
effort to implement half of them.
(of course that policy is to be decided by g++ and libstdc++ maintainers)
--
Marc Glisse