Namespaces
Variants
Views
Actions

Talk:cpp/error

From cppreference.com

The breadcrumb trail here says it's for the "error handling" features of the utilities library. It lists "static assertion" alongside library features even though static assertions are a language feature.

I understand that it makes sense to talk about both kinds of assertions in one place, but it's confusing when presented like this. It creates the impression that static assertions are a library feature, and the "Defined in `<cassert>`" text for `assert` gets lost between the two entries. I think it would be better to move mention of static assertion out of the table and to a note of some kind, perhaps in the text under the Assertions heading.

2620:15C:2CE:0:4884:B735:7931:A9AB 11:30, 15 November 2019 (PST) Adrian