https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358

--- Comment #23 from Holger Hoffstätte <hol...@applied-asynchrony.com> ---
(In reply to Holger Hoffstätte from comment #22)
> Created attachment 61758 [details]
> Readable reproducer for debugging
> 
> Slightly more reduced, no need for the join business.

..and not for the factory function either.

I'm now sure that the added std::move is not accidental state reuse but
"simply" a matter of instantiating one template working for both cases instead
of two, where the second one goes off the rails. The executable differs in
size.
Why the second form (direct rvalue reference) makes a mess is unfortunately a
mystery.

Reply via email to