Quote Originally Posted by phantomotap View Post
Unfortunately, I was also downloading an ISO and my browser crashed.
I _HATE_ it when that happens.
So... yea... not typing it all in again, but the short story: the designated initializers as provided by C99 fit to small a niche compared to what C++ provides by implicit partial construction and implicit destruction.

Soma *grumble*
I don't think there is any argument on that side - there are all sorts of things we can do in constructor/destructor that are practically impossible to do in C [without much messier code at least]. I also do not think one is a replacement for the other - the DI is a much better solution to arrays and structs where only a (small) part of the data needs to be initialized.

--
Mats