[libcxx-commits] [PATCH] D62259: shared_ptr changes from library fundamentals (P0414R2)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 6 20:01:24 PDT 2019


zoecarver marked an inline comment as done.
zoecarver added inline comments.


================
Comment at: include/memory:4028
 
-    template<class _Yp, class _Deleter = default_delete<_Yp>,
+    template<class _Yp, class _Deleter = __shared_ptr_default_delete<_Tp, _Yp>,
                         class _Alloc = typename __shared_ptr_default_allocator<_Yp>::type>
----------------
I don't love this "hack", but I am not sure there is a better way to fix the issue I describe below. Suggestions are more than welcome. 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62259/new/

https://reviews.llvm.org/D62259





More information about the libcxx-commits mailing list