[Bug libstdc++/48430] New: std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function

flast at flast dot jp gcc-bugzilla@gcc.gnu.org
Mon Apr 4 00:41:00 GMT 2011


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: unassigned@gcc.gnu.org
        ReportedBy: flast@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.



More information about the Gcc-bugs mailing list