[util.smartptr.hash]
llvm-svn: 105393
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: d1803b6c87d867bc94baf6a8a46054a3e81904d0
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