LWG-4110 `shared_ptr(nullptr_t, Deleter)` is overconstrained, breaking some sensible deleters

Open
#6,573 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp

Research direction

Start by reading the shared_ptr(nullptr_t, Deleter) constraints and the LWG-4110 issue context in the C++ standard library implementation. The report gives no affected file, failing test, or example deleter, so identify the relevant implementation and tests before changing anything. Done means the reported sensible deleters are accepted while invalid deleters remain rejected.

Written by the indexing model from the issue text.

Description

LWG

LWG-4110 shared_ptr(nullptr_t, Deleter) is overconstrained, breaking some sensible deleters

Dominant language
C++
Stars
11.2k
Forks
1.7k
Avg merge
4d 4h
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/STL

All issues in microsoft/STL

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.