Namespaces
Variants
Views
Actions

Talk:c/language/statements

From cppreference.com

[edit] 5 types of statements or 6

The standard lists six type of statements (n1570:6.8), yet this page says that there are only five. The statement missing from the list is "labeled statement." Shouldn't "labeled statement" start the list on this page? Also, in the paragraph "Labels" appears the syntactic element "constexpr," yet the standard uses "constant-expression" (6.8.1). Shouldn't the latter replace the former? Newatthis (talk) 05:22, 17 January 2015 (PST)

no, BNF productions don't make it a useful reference for human readers. As for the parameter of the case label, I'll make it match what c/operator/switch actually uses.--Cubbi (talk) 06:00, 17 January 2015 (PST)