This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35782] support for standard layout types
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Apr 2008 04:05:57 -0000
- Subject: [Bug c++/35782] support for standard layout types
- References: <bug-35782-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bkoz at gcc dot gnu dot org 2008-04-01 04:05 -------
struct b
{
bool t;
#if 1
// need standard layout relaxation from POD
private:
b& operator=(const b&);
b(const b&);
#endif
};
int main()
{
b tst1 = { false };
const b tst2 = { true };
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35782