https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100558
Bug ID: 100558
Summary: std::ranges::views operator| fails to compile
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: frozenca91 at gmail dot com
Target Milestone: ---
GCC 11.1.0 fails to compile this code
https://wandbox.org/permlink/yWSpe4tVZTI3ljKg
which has no problem in
GCC 12.0 HEAD 20210511 (https://wandbox.org/permlink/YWzUzsmIjdqe5zvH)
GCC 10.1.0 (https://wandbox.org/permlink/wVsn1mqhLuS2R5vg)
Some updates in 11.1.0 must be broken