https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97648
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #1) > This is also rejected by clang++ and icc. MSVC also rejects it for accessibility reasons.