Boost logo

Boost :

Subject: Re: [boost] [multiprecision review] EOF not declared, and noexcept errors
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-06-13 16:58:18


On Wed, Jun 13, 2012 at 12:43 PM, Christopher Kormanyos
<e_float_at_[hidden]>wrote:
[...]

> 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]?

- Jeff

[1]
http://www.boost.org/doc/libs/1_49_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_allow_use_of_c__11_features_with_c__03_compilers


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