[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements

gcc-bugzilla at contacts dot eelis.net gcc-bugzilla@gcc.gnu.org
Wed Jun 18 14:25:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785

--- Comment #8 from Eelis <gcc-bugzilla at contacts dot eelis.net> ---
With Clang 3.5, given

  struct X: std::tuple<> { char c; };

I get sizeof(X)==1. Is that not what you mean?



More information about the Gcc-bugs mailing list