
On Wed, Mar 11, 2009 at 2:21 PM, Bo Persson <bop@gmb.dk> wrote:
Andrey Semashev wrote:
Beman Dawes wrote:
On Sun, Mar 8, 2009 at 12:08 PM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
Is there a macro that shows if the "auto" keyword has C++0x meaning?
Not yet. Care to submit one?
Any suggestions for the naming? BOOST_NO_AUTO_DECLARATIONS? BOOST_NO_AUTO_MULTIDECLARATIONS?
Do any compilers support 0x auto? GCC 4.4 is supposed to support 0x auto (at least partially), but won't ship until summer IIRC.
Yes, I'm too aware only of GCC 4.4, but it's a sufficient precedent.
VS2010 is another one, with a ship date later than this summer but reasonably before 2010.
Ah! I'd forgotten VS2010 has C++0x auto support. I really need to concentrate on all the half-complete Boost projects I'm working on. Plus there are going to be a stream of compiler releases with various 0x features over the next year or two. So it would be great if someone else could take on adding C++0x macros as a project. (And not John Maddock, either, as he has already paid his dues when it comes to configuration macros!) While it is really easy to add the macros, it does take a bit of time to monitor tests on various compilers to be sure they all work. --Beman