This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35782] support for standard layout types



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]