|
Boost : |
Subject: Re: [boost] [c++1] BOOST_NOEXCEPT macros?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-10-10 11:28:48
On Sat, Oct 8, 2011 at 9:11 PM, Dave Abrahams <dave_at_[hidden]> wrote:
>> We could also define BOOST_NOEXCEPT_OPERATOR(Predicate), and have it
>> fall back to true in C++03 code. I'm not expert enough to know if that
>> is reliable or even useful, so am not proposing it.
>
> I think it had better default to false; that would be the conservative
> answer.
Grrr... Double negative confusion strikes again. My mistake. It should
be false. Fixed.
> And the parameter is "Expression," I think.
Yes, that would be better.
>
> I suggest BOOST_IS_NOEXCEPT(Expression)
I settled on BOOST_NOEXCEPT_EXPR(Expression).
Thanks,
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk