Boost logo

Boost :

Subject: Re: [boost] [c++0x] OK to merge cpp0x branch config changes to trunk?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-02-21 15:25:19


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?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk