[Bug c++/43330] trivial types are not being statically initialized

2010-03-11 Thread eric dot niebler at gmail dot com
--- Comment #3 from eric dot niebler at gmail dot com 2010-03-11 11:56 --- Oops, it's not an aggregate. Disregard. -- eric dot niebler at gmail dot com changed: What|Removed |Added --

[Bug c++/43330] trivial types are not being statically initialized

2010-03-11 Thread eric dot niebler at gmail dot com
--- Comment #2 from eric dot niebler at gmail dot com 2010-03-11 11:53 --- You're right. Let me amend my example. struct S { S() = default; S(S const &) = default; S(int i) : i(i) {} int i; }; S const s {1}; S would seem to satisfy the requirements for a trivi

[Bug c++/43330] trivial types are not being statically initialized

2010-03-11 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2010-03-11 11:41 --- Subject: Re: New: trivial types are not being statically initialized Sent from my iPhone On Mar 11, 2010, at 3:24 AM, "eric dot niebler at gmail dot com" wrote: > According to the C++0x status page > (http://gcc.gn