this post was submitted on 22 Oct 2023
17 points (94.7% liked)

C++

2230 readers
72 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] jormaig@programming.dev 4 points 2 years ago (1 children)

Quite an interesting read. When explained it seems obvious but this whole "weirdness" is introduced because there are two types of "noexcept". The exception specifier and the exception checker. All because the committee doesn't want to introduce new keywords (which I respect).

[โ€“] cmeerw@programming.dev 2 points 2 years ago

similar thing with requires requires { ...

and you can nest it even further: requires requires { requires ...