This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] <functional> minus <string>


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

Attachment: p.20070906-3
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]