https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80227
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Idiomatic C++ code should not warn. Clang and ICC accept the former and reject the latter. VC++ rejects both, which is odd.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80227
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Idiomatic C++ code should not warn. Clang and ICC accept the former and reject the latter. VC++ rejects both, which is odd.