llvm / llvm/llvm-project

LWG3777: Common `cartesian_product_view` produces an invalid range if the first range is input and one of the ranges is empty

Open
#189,810 1 comment 0 reactions 0 assignees View on GitHub
c++26 libc++ lwg-issue ranges
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked LWG3777 specification issue, then locate the libc++ implementation and tests for cartesian_product_view. Determine the expected behavior when the first range is input and another range is empty; done means the resulting range is valid and regression coverage demonstrates that case.

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
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.