LWG4293: `span::subspan`/`first`/`last` chooses wrong constructor when `T` is `const`-qualified `bool`
Open
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/LWG4293
Contributor guide
Research direction
Start by reading the linked LWG4293 report and locating the affected span implementation and tests in the repository. Determine the intended behavior for const-qualified bool and verify that subspan, first, and last select the correct constructor; done means the relevant tests pass with the corrected behavior.
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