llvm / llvm/llvm-project

LWG4255: `move_only_function` constructor should recognize empty `copyable_function`s

Open
#171,320 0 comments 0 reactions 0 assignees View on GitHub
c++26 libc++ lwg-issue
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

**Link:** https://wg21.link/LWG4255

Contributor guide

Open the contributing guide

Research direction

Start with the linked LWG4255 specification, then locate the standard-library implementations of move_only_function and copyable_function. Add or adjust focused tests for the empty-function case; done means the constructor behavior matches the issue's specified recognition of empty copyable_function values.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.