Date: Fri, 6 Jun 2025 10:13:40 -0400
On Fri, Jun 6, 2025 at 12:46 AM Tymi via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> std::move<T&&>(o) doesn't work on explicit conversions and doesn't work on rvalue qualified conversions which is the whole point
> explicit operator T&&()&& is the conversion I want to be used
OK, but... why?
Why does the standard library need a special function to trigger the
call to this specific operator? Is this something that is inherently
useful? Do people frequently need to do this?
<std-proposals_at_[hidden]> wrote:
>
> std::move<T&&>(o) doesn't work on explicit conversions and doesn't work on rvalue qualified conversions which is the whole point
> explicit operator T&&()&& is the conversion I want to be used
OK, but... why?
Why does the standard library need a special function to trigger the
call to this specific operator? Is this something that is inherently
useful? Do people frequently need to do this?
Received on 2025-06-06 14:13:54