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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 4 07:42:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48430

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-04 07:40:26 UTC ---
I don't consider this a bug. Even if they were removed from the standard, we
could choose to keep them and use them as implementation details, or
non-standard extensions.
Users shouldn't rely on deprecated features, because they can go away, but we
control the implementation, so we know we can use them safely.
Why is it a problem?



More information about the Gcc-bugs mailing list