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

--- Comment #4 from Jason Liam <jlame646 at gmail dot com> ---
Yes, this is well-formed because the move ctor here is deleted as per 2.6 as
explained in this thread: https://stackoverflow.com/a/78817438/12002570

In C++26, constructors have types through CWG2479 which is DRWP. In C+23 as
published, ctors don't have types.

Reply via email to