https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111550
--- Comment #5 from Patrick Palka ---
The comment #3 testcase seems fixed after r14-7218-gc48bedd1806722.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111550
--- Comment #4 from Patrick Palka ---
The perfect forwarding issue is incidentally fixed in C++23 mode (when deducing
this is available) after r14-7150-gd2cb4693a0b383.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111550
--- Comment #3 from 康桓瑋 ---
Let me report another issue I observed on this PR.
According to [range.adaptor.object], adaptor(args...) uses
std::forward(args).. . to forward arguments into the call
wrapper's decayed member, whereas libstdc++ u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111550
--- Comment #2 from 康桓瑋 ---
(In reply to Jonathan Wakely from comment #1)
> I think all four bugs related to adaptor closures are very similar and could
> be a single bug report.
Perhaps. Maybe I should collect them all. Sorry for bringing up b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111550
--- Comment #1 from Jonathan Wakely ---
I think all four bugs related to adaptor closures are very similar and could be
a single bug report.