Boost logo

Boost :

Subject: Re: [boost] Noexcept
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-06-12 09:42:46


On 12/06/2017 09:22, Emil Dotchevski via Boost wrote:
> The lively debates during the Outcome review show that there is a great
> deal of interest in solving the problem of error handling in environments
> where C++ exception handling is unavailable.
>
> Noexcept is a new C++11 library that implements a different approach to
> solving the same problem. Any feedback is welcome.
>
> https://zajo.github.io/boost-noexcept/

The use of functional throw(), try() and catch() was a design approach
rejected very early by me and most who have looked into this problem.

Nobody wants to reimplement via a library exception handling with
exceptions disabled. It's an impoverished experience, and leads to
brittle code. Just enable C++ exceptions if you want exceptions.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

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