[Bug libstdc++/119282] views::transform producing ranges piped to views::join | ranges::to<std::vector>() fails to compile in constant evaluation.
email at miropalmu dot cc
gcc-bugzilla@gcc.gnu.org
Fri Mar 14 08:48:00 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282
--- Comment #2 from Miro Palmu <email at miropalmu dot cc> ---
Adding rn::to<std::vector>() between rv::transform and rv::join makes it
compile.
(I forgot --version flag to gcc trunk in above Compiler Explorer link.)
More information about the Gcc-bugs
mailing list