public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/52931] New: std::hash shouldn't be defined for unknown types
@ 2012-04-11  7:43 marc.glisse at normalesup dot org
  2012-04-11 10:02 ` [Bug libstdc++/52931] " paolo.carlini at oracle dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marc.glisse at normalesup dot org @ 2012-04-11  7:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52931

             Bug #: 52931
           Summary: std::hash shouldn't be defined for unknown types
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@normalesup.org


As explained by Daniel Krügler in c++std-lib-32420 and nearby messages, the
default definition of std::hash is non-standard, it is supposed to be undefined
so we can test with sfinae whether hash was specialized for some type.


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

end of thread, other threads:[~2012-04-11 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11  7:43 [Bug libstdc++/52931] New: std::hash shouldn't be defined for unknown types marc.glisse at normalesup dot org
2012-04-11 10:02 ` [Bug libstdc++/52931] " paolo.carlini at oracle dot com
2012-04-11 11:28 ` paolo at gcc dot gnu.org
2012-04-11 11:30 ` 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).