[PATCH] Add support for "fancy" pointers to shared_ptr. Fixes PR20616

Eric Fiselier eric at efcs.ca
Thu Aug 14 21:35:48 PDT 2014


Implemented feedback from bug report. Use allocator traits to get the pointer type, not the allocator itself.

http://reviews.llvm.org/D4859

Files:
  include/memory
  test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
  test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
  test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.pass.cpp
  test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared_no_variadics.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4859.12539.patch
Type: text/x-patch
Size: 15473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140815/8b5d0134/attachment.bin>


More information about the cfe-commits mailing list