bitwizeshift / bitwizeshift/BackportCpp

shared_ptr array specialization

Open
#20 0 comments 0 reactions 1 assignee Claimed by @bitwizeshift View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.