Date: Wed, 4 Jun 2025 07:00:11 +0200
When is this usable and useful? The only time I can see that it is usable
is when inheritance is involved, but I don't see it as very useful in that
case. Do you have a case of when this both works as intended and is useful?
// Ribin
On Wed, Jun 4, 2025, 06:36 Jan Schultke via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> How is it supposed to perform a conversion and return an rvalue
> reference? This looks like you're returning a reference to a temporary
> object.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
is when inheritance is involved, but I don't see it as very useful in that
case. Do you have a case of when this both works as intended and is useful?
// Ribin
On Wed, Jun 4, 2025, 06:36 Jan Schultke via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> How is it supposed to perform a conversion and return an rvalue
> reference? This looks like you're returning a reference to a temporary
> object.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2025-06-04 05:00:29