https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90880
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2019-06-13 Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Federico Kircheis from comment #1) > After researching a little bit more, I've convinced myself that > `status<c1>::value` should be false, as `decltype` has no special rules for > accessing private data, thus clang is correct. Agreed. And G++ should accept it.