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 libstdc++/55713] std::tuple<ElementType> incorrectly is convertible to "ElementType" when it is an empty class


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-16 17:49:20 UTC ---
This was done for an optimization. And I think it is allowed by the C++
standard too.


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