llvm / llvm/llvm-project

LWG4291: `explicit map(const Allocator&)` should be `constexpr`

Open
#171,333 1 comment 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/LWG4291

Contributor guide

Open the contributing guide

Research direction

Read the linked LWG4291 specification issue first, then locate the libc++ implementation of map's explicit Allocator constructor and its related tests. Confirm the current constexpr support and determine the expected standard-conformance change. Done means the constructor matches LWG4291 and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.