[config] macro for unified initialization syntax?

Is there a config macro for the presence/absence of C++0x uniform initialization syntax? http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization If not, I suggest BOOST_NO_UNIFORM_INITIALIZATION_SYNTAX. A quick test shows that gcc-4.5 in 0x mode has it. -- Eric Niebler BoostPro Computing http://www.boostpro.com

Is there a config macro for the presence/absence of C++0x uniform initialization syntax?
http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization
If not, I suggest BOOST_NO_UNIFORM_INITIALIZATION_SYNTAX. A quick test shows that gcc-4.5 in 0x mode has it.
If you can supply a test case, I can add it, John.

On 11/17/2010 1:02 PM, John Maddock wrote:
Is there a config macro for the presence/absence of C++0x uniform initialization syntax?
http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization
If not, I suggest BOOST_NO_UNIFORM_INITIALIZATION_SYNTAX. A quick test shows that gcc-4.5 in 0x mode has it.
If you can supply a test case, I can add it,
I may, but in the mean time, I filed a feature request so we don't forget. https://svn.boost.org/trac/boost/ticket/4867 -- Eric Niebler BoostPro Computing http://www.boostpro.com
participants (2)
-
Eric Niebler
-
John Maddock