The function object std::tr1::hash is required to inherit from std::unary_function, but the current implementation doesn't do so. It's member typedefs result_type and argument_type are therefore not present.
Regards, John Maddock. -- Summary: std::tr1::hash missing inheritance Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: john at johnmaddock dot co dot uk GCC build triplet: linux.x86 GCC host triplet: linux.x86 GCC target triplet: linux.x86 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24799