
3 Nov
2006
3 Nov
'06
11:24 a.m.
Anthony Williams wrote:
struct A { constexpr A(int i_): i(i_),j(0) {}
int i; int j; };
static A a(6); // static initialization, same as {6,0}, but with a constructor.
And such a struct shall be aggregate? What if there is something in the body of the ctor? Roland