View Issue Details

IDProjectCategoryView StatusLast Update
0000852LDMudLPC Languagepublic2021-04-16 19:36
Reportersinnvoll Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Summary0000852: Initializers in if and switch statements
DescriptionIn c++17 there is a new feature:
Initializers in if and switch statements

example:
    if (init; cond) E;
equivalent to
    { init; while(cond) { E; break; } }

more in link:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0305r0.html
TagsNo tags attached.
External Data (URL)

Activities

Gnomi

2021-04-16 19:36

manager   ~0002598

We discussed this and feel that this feature reduces the language's suitability for beginners without bringing much value.

Issue History

Date Modified Username Field Change
2017-07-09 11:10 sinnvoll New Issue
2021-04-16 19:36 Gnomi Status new => closed
2021-04-16 19:36 Gnomi Resolution open => won't fix
2021-04-16 19:36 Gnomi Note Added: 0002598