[Bug c++/37860] standard_layout: direct and copy initialization issues

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 22 23:08:00 GMT 2008



------- Comment #3 from bkoz at gcc dot gnu dot org  2008-10-22 23:07 -------

Can work around this by adding initializer_list ctor. 

  b(std::initializer_list<bool> __a)
  : t(*__a.begin()) { }


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37860



More information about the Gcc-bugs mailing list