From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-11-03 06:24:01


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