public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/56627] New: class hash instead of struct hash
@ 2013-03-15 18:45 andreas.hansson at gmail dot com
  2013-03-15 19:18 ` [Bug libstdc++/56627] " pinskia at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: andreas.hansson at gmail dot com @ 2013-03-15 18:45 UTC (permalink / raw)
  To: gcc-bugs


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-07-31 14:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15 18:45 [Bug libstdc++/56627] New: class hash instead of struct hash andreas.hansson at gmail dot com
2013-03-15 19:18 ` [Bug libstdc++/56627] " pinskia at gcc dot gnu.org
2013-03-15 21:04 ` andreas.hansson at gmail dot com
2013-03-15 21:17 ` pinskia at gcc dot gnu.org
2013-03-16  2:22 ` redi at gcc dot gnu.org
2013-03-16  9:40 ` paolo.carlini at oracle dot com
2013-03-16 12:02 ` andreas.hansson at gmail dot com
2013-06-26 21:05 ` paolo.carlini at oracle dot com
2013-07-30  4:44 ` pinskia at gcc dot gnu.org
2013-07-30  4:59 ` whatmannerofburgeristhis at gmail dot com
2013-07-30  5:03 ` pinskia at gcc dot gnu.org
2013-07-30  8:31 ` redi at gcc dot gnu.org
2013-07-30 14:59 ` redi at gcc dot gnu.org
2013-07-31 14:22 ` paolo.carlini at oracle dot com
2013-07-31 14:32 ` redi at gcc dot gnu.org
2013-07-31 14:37 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).