
21 Feb
2009
21 Feb
'09
8:25 p.m.
Beman Dawes wrote:
See http://svn.boost.org/svn/boost/branches/cpp0x
This branch adds the following config macros:
[...] BOOST_NO_DECLTYPE [...]
I see that this macro is defined for GCC 4.3+ when std=c++0x is not used. However, decltype is still available with __decltype__ outside of C++0x experimental mode. Would a #define decltype __decltype__ on this compiler not be a better idea?