llvm / llvm/llvm-project

LWG2746: Inconsistency between requirements for `emplace` between `optional` and `variant`

Open
#189,806 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/LWG2746

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked LWG2746 issue and comparing the standard requirements for emplace in optional and variant. The payload names no implementation files or tests; done means resolving the requirements inconsistency and updating the relevant standard-library implementation and validation coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.