[util.smartptr.hash]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105393 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/functional b/include/functional
index 57112a2..e645a55 100644
--- a/include/functional
+++ b/include/functional
@@ -1834,16 +1834,7 @@
}
};
-template<class _Tp>
-struct hash<_Tp*>
- : public unary_function<_Tp*, size_t>
-{
- size_t operator()(_Tp* __v) const
- {
- const size_t* const __p = reinterpret_cast<const size_t*>(&__v);
- return *__p;
- }
-};
+// struct hash<T*> in <memory>
_LIBCPP_END_NAMESPACE_STD