https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567
--- Comment #6 from Jonathan Wakely ---
std::move_only_function is on trunk now.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567
--- Comment #5 from Jonathan Wakely ---
(In reply to Florian Weimer from comment #3)
> Neither paper seems to cover a polymorphic function type that takes
> ownership, though, so I don't quite see how these replace std::function.
To be clear, s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567
--- Comment #4 from Jonathan Wakely ---
(In reply to Florian Weimer from comment #3)
> (In reply to Jonathan Wakely from comment #1)
> > This is not a libstdc++ bug, we implement what the standard says.
> >
> > Maybe it used to compile, but it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567
--- Comment #3 from Florian Weimer ---
(In reply to Jonathan Wakely from comment #1)
> This is not a libstdc++ bug, we implement what the standard says.
>
> Maybe it used to compile, but it was meaningless. You could say it was a
> function of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567
--- Comment #2 from Jonathan Wakely ---
(In reply to Florian Weimer from comment #0)
> In earlier language versions, code like this used to compile because
> noexcept was not part of the type system.
This also used to compile:
void f() noexcep
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102567
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRME