[Bug libstdc++/51558] Declaration of unspecialized std::hash<_Tp>::operator()(_Tp) turns compile-time errors into link-time errors

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 15 10:54:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Target Milestone|---                         |4.7.0

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-15 10:52:00 UTC ---
The static_assert definitely improves the error message. I'm going to prepare a
combined patch (testcases in 23_containers/unordered_* have also to be tweaked)



More information about the Gcc-bugs mailing list