Subject: Re: [boost] noexcept BOOST_EXPLICIT_OPERATOR_BOOL
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2014-04-25 17:14:54
Does it make sense then to add yet another macro?
2014-04-25 22:23 GMT+02:00 Andrey Semashev <andrey.semashev_at_[hidden]>:
> On Friday 25 April 2014 20:21:03 Andrzej Krzemienski wrote:
> > 2014-04-25 17:15 GMT+02:00 Andrey Semashev <andrey.semashev_at_[hidden]>:
> > >
> > > I think, noexcept could be added to the existing macros rather safely
> > > using
> > > BOOST_NOEXCEPT_IF/BOOST_NOEXCEPT_EXPR. I could do it if no one objects.
> > Yes, make it noexcept if operator! is noexcept. That couldn't possibly
> > anyone.
> Hmm, I forgot that the noexcept argument requires the enclosing class
> type. I
> cannot use 'this' to deduce the type, so it seems to be not possible to
> implement with the current interface. The good news is that the constexpr
> version is implicitly noexcept already.
> Unsubscribe & other changes: