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: unassig...@gcc.gnu.org

        ReportedBy: andreas.hans...@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

Reply via email to