BackportCpp icon indicating copy to clipboard operation
BackportCpp copied to clipboard

shared_ptr array specialization

Open bitwizeshift opened this issue 4 years ago • 0 comments

Checklist

  • [x] I did not find a duplicate of this feature request in the Github Issues section.

Description

C++11 introduced shared_ptr, which works with T[] types -- but only if the type is given a custom deleter. C++20 expanded this to support shared_ptr<T[]>, and introduces an overload for make_shared for this.

Backport should be updated to support this.

bitwizeshift avatar Jun 25 '20 03:06 bitwizeshift