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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Halalaluyafail3 from comment #0)
> haven't seen any restrictions on using a unique_ptr with a reference type so
> I assume that this is OK (since C++17).

I'm not sure if that's actually intended, it's probably just an accident that
it works.

Reply via email to