http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48430
Summary: std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: fl...@flast.jp std::hash partial specialization for std::unique_ptr (in bits/unique_ptr.h) and std::shared_ptr (in bits/shared_ptr.h) using std::unary_function. However, you should not use it because std::unary_function is deprecated.