|
|
|
|
|
by Gibbon1
1779 days ago
|
|
The only explanation I saw was that C++ standards guys were horrified by the idea of unpredictable side effects as a result of initialization of a struct. I think C++ though is adding them. What I'd like in c is designated function parameters. // these the same
bar(.a = 10, .b = 12);
bar(.b = 12, .a = 10);
|
|