Boost logo

Boost :

Subject: Re: [boost] Noexcept
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2017-06-21 07:43:44


2017-06-21 8:54 GMT+02:00 Emil Dotchevski via Boost <boost_at_[hidden]>:

> On Tue, Jun 20, 2017 at 11:31 PM, Andrzej Krzemienski via Boost <
> boost_at_[hidden]> wrote:
>
> > Actually, how can you write an exception-neutral code with Boost.Nowide?
> >
>
> Noexcept, right? :)
>

:) Sorry. So many things going on in Boost at the moment.

>
> In error-neutral contexts, you simply return throw_() to propagate any
> error from lower level functions.
>

But does this not compromise exception neutrality? That you have to specify
in each function that you want to just pass the exception up?

Regards,
&rzej;


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