https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71096
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-11-22 Ever confirmed|0 |1 --- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- 2 things that would help: - IMO we should implement PR63579 and stop using the EBO. Such a hack (deriving when we really want a member) is fine in user code, but more questionable in libraries. Depending on how we implement it exactly, it might even be possible to preserve the layout of tuples. - access control in C++ needs to change from a trap (private things are visible, but if you look at them you get a hard error) to some useful hiding mechanism. A first step was done in this direction with SFINAE in C++11.