Boost logo

Boost :

Subject: Re: [boost] [multiprecision review] EOF not declared, and noexcept errors
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-06-14 05:19:20


>> It almost seems like you might have some macros activated when they
>> shouldn't be.
>> As far as I know, noexcept is C++11 and it only gets activated if
>> BOOST_NO_NOEXCEPT
>> is *not* defined. BOOST_NO_NOEXCEPT subsequently defines
>> BOOST_MP_NOEXCEPT
>> as nothing (empty), which is what you want.
>>
>
> A tangent to the original post: Why use BOOST_MP_NOEXCEPT rather than
> BOOST_NOEXCEPT [1]?

Embarrassingly I have no idea, testing the change now. Possibly I wrote the
code before those helpers were added, or more likely I just didn't spot them
:-(

John.


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