llvm / llvm/llvm-project

LWG4122: Ill-formed `operator<=>` can cause hard error when instantiating `std::inplace_vector`

Open
#189,816 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/LWG4122

Contributor guide

Open the contributing guide

Research direction

Read the linked LWG4122 issue first, since the report provides no implementation or test file. Then locate the std::inplace_vector implementation and its tests, reproduce the hard error during instantiation, and compare the result with the resolution described by LWG4122.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.