Thanks for the reply. It solved my problems ;)
btw, you should support both "--c++0x" and "--c++11" for compatibility reasons :p
-Yao
The C++0x functionalities are enabled by passing --c++0x on the command line> I'm new to Boost.Wave. I followed the "quick start", but found that wave
> take the C++0x keyword "decltype" as an identifier instead of a keyword.
> The macro "BOOST_WAVE_SUPPORT_CPP0X" is defined as "1".
> Boost version: 1.47.0
> Any suggestions ?
(I really ought to change that to --c++11, btw).
If you use Wave as a library you need to enable this by invoking:
ctx.set_language(boost::wave::support_cpp0x);
HTH
Regards Hartmut
---------------
http://boost-spirit.com
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users