[v3] <functional> minus <string>

Benjamin Kosnik bkoz@redhat.com
Fri Sep 7 03:19:00 GMT 2007


This is a prototype-patch for $SUBJECT. I believe that the idea is
conformant: class std::hash is not specialized, but instead the
operator member function is explicitly specialized, allowing forward
declarations to work.

By doing this, it is much easier to deal with <algorithm> and
<numeric>, and replacements.

There is more that could be done here, ie, the list of primes (and
functional_hash.cc to hash.cc?) . I'm open to doing that too, but
would like to start here.

Thoughts?

tested x86/linux

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20070906-3
Type: application/octet-stream
Size: 18677 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070907/eebf03ec/attachment.obj>


More information about the Libstdc++ mailing list