this post was submitted on 22 Oct 2023
14 points (93.8% liked)

C++

1732 readers
2 users here now

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

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year 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).

[โ€“] [email protected] 1 points 1 year ago

similar thing with requires requires { ...

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