Boost logo

Boost :

Subject: Re: [boost] BOOST_NOEXCEPT macro?
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-02-17 08:12:32


> Should we add a BOOST_NO_NOEXCEPT config macro, and then provide a
> header with something like:
>
> #ifdef BOOST_NO_NOEXCEPT
> # define BOOST_NOEXCEPT throw()
> #else
> # define BOOST_NOEXCEPT noexcept
> #endif

I assume this is a new C++0x feature? I haven't come across this one
before!

If so then yes, by all means add this, and the above logic to
boost/config/suffix.hpp.

John.


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