[Bug libstdc++/56627] class hash instead of struct hash
andreas.hansson at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 15 21:04:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56627
--- Comment #2 from ahansson <andreas.hansson at gmail dot com> 2013-03-15 21:04:01 UTC ---
(In reply to comment #1)
> In C++, class and struct are interchangeable.
Agreed. Technically the code is ok, and in line with the language standard.
However, as at least one of the most popular compilers (clang 3.2 RELEASE with
-Wall) issues a warning for this. Thus, it might be worthwhile fixing.
More information about the Gcc-bugs
mailing list