[Bug libstdc++/56627] New: class hash instead of struct hash
andreas.hansson at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 15 18:45:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56627
Bug #: 56627
Summary: class hash instead of struct hash
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: andreas.hansson@gmail.com
In the gcc 4.8.0 c++ standard library headers, bitset and bits/stl_bvector.h
both incorrectly use class instead of struct for the hash function.
For example, bits/stl_bvector.h:
#if __cplusplus >= 201103L
template<typename> friend class hash;
#endif
class should be struct
More information about the Gcc-bugs
mailing list