C++ Logo

std-proposals

Advanced search

Re: [std-proposals] noexcept has gotten a bit hairy -- I want a compiler error

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Sun, 27 Apr 2025 18:19:56 +0100
On Sun, 27 Apr 2025, 17:21 Andrey Semashev via Std-Proposals, <
std-proposals_at_[hidden]> wrote:

> On 27 Apr 2025 17:21, Jonathan Wakely via Std-Proposals wrote:
> >
> > On Sun, 27 Apr 2025, 14:51 Julian Waters via Std-Proposals, <std-
> > proposals_at_[hidden] <mailto:std-proposals_at_[hidden]>>
> wrote:
> >
> > I do agree noexcept has gotten a bit problematic, though I have no
> > opinion on the proposal presented here. I do want to grab this
> > opportunity to say that I find it pretty ridiculous that to reap the
> > benefits of noexcept I have to mark the entire call chain all the way
> > down noexcept though.
> >
> > Or stop using it unnecessarily everywhere, so the code doesn't need
> > handlers in every function.
>
> At the point where you suggest that one should not use C APIs, you make
> C++ irrelevant for any real world usage. Note that C APIs are not
> limited to just libc.
>

I never suggested anything of the sort.

Received on 2025-04-27 17:20:14