Default arguments considered harmful?

Jonathan 'Rynn' Sauer jonathan.sauer at gmx.de
Fri May 2 10:53:46 PDT 2014


Hello,

> I wonder if, with C++11 named initialization syntax for PODs,

I thought only C had that? Or maybe I'm thinking of something else; I'm thinking of C's

   foo_t foo = { .bar = 2, .baz = -1 }

This didn't make it into C++11 as far as I know.


Jonathan





More information about the cfe-commits mailing list