Boost logo

Boost :

Subject: Re: [boost] [config] Macro BOOST_NO_NOEXCEPT is required
From: Takaya Saito (SubaruG) (gintensubaru_at_[hidden])
Date: 2011-04-25 12:10:10


2011/4/25 Vicente BOTET <vicente.botet_at_[hidden]>:
>
>
>
>
>
>> Message du 25/04/11 10:35
>> De : "Takaya Saito (SubaruG)"
>> A : boost_at_[hidden]
>> Copie à :
>> Objet : Re: [boost] [config] Macro BOOST_NO_NOEXCEPT is required
>>
>> 2011/4/25 Emil Dotchevski :
>> > On Sat, Apr 23, 2011 at 11:57 AM, Takaya Saito (SubaruG)
>> > wrote:
>> >> http://thread.gmane.org/gmane.comp.lib.boost.devel/214978
>> >>
>> >> I think the macro BOOST_NO_NOEXCEPT ( or BOOST_NO_0X_NOEXCEPT ) is
>> >> required soon.
>> >> How's the status now?
>> >
>> > The semantics of throw() and noexcept are not identical. Also, the
>> > semantics of throw() are not identical on all platforms.
>>
>> Yes, that's right. And I don't need a macro expanding to throw() or
>> noexcept(true) so soon.
>>
>> But, I think a macro BOOST_NO_NOEXCEPT, which describes the presence of
>> noexcept keyword, is required ASAP.
>
> Hi,
>
> I·m sure Johm will be happy to accept a patch with the tests and the docs if you follow the procedure described in the documentation for the addition of new macros.
>

I tried to write the patch, but I couldn't understand how to generate
`no_noexcept_pass.cpp` and `no_noexcept_fail.cpp`, so I've only written
`boost_no_noexcept.ipp` for tests.

If it's okay, here's the patch attached, please use it freely.




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