bitwizeshift / bitwizeshift/BackportCpp
shared_ptr array specialization
Open
Complexity: Low
Good First Issue
Priority: Low
Status: Accepted
Type: Refactoring
- Dominant language
- C++
- Stars
- 94
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
### 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`, and introduces an overload for `make_shared` for this.
Backport should be updated to support this.
Contributor guide
Assessment
This issue has not been assessed yet.