Subject: Re: [boost] [c++1] BOOST_NOEXCEPT macros?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-10-10 04:36:51
Den 09-10-2011 03:11, Dave Abrahams skrev:
> on Sat Oct 08 2011, Beman Dawes<bdawes-AT-acm.org> wrote:
>> Since Boost already has BOOST_NO_NOEXCEPT and at least one compiler
>> (GCC) supports C++11 noexcept, I'd like to start using it in Boost
>> So how about a<boost/detail/noexcept.hpp> header with the usual
>> boilerplate and this:
>> #ifndef BOOST_NO_NOEXCEPT
>> # define BOOST_NOEXCEPT
>> # define BOOST_NOEXCEPT_IF(Predicate)
> I think it had better default to false; that would be the conservative
> And the parameter is "Expression," I think.
> I suggest BOOST_IS_NOEXCEPT(Expression)
I prefer BOOST_NOEXCEPT_IF() like Beman suggested.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk