C++ Logo

std-proposals

Advanced search

Re: [std-proposals] New intrinsic type -- prvalue

From: Andre Kostur <andre_at_[hidden]>
Date: Sun, 19 Oct 2025 16:59:49 -0700
Your example doesn’t follow your premise. You suggested that you could do
this by only declaring this ‘prvalue’ type, yet you had to modify Func in
order to use it.

Also, how is this much different than passing a lambda into the (modified)
Func?

Much more thought needs to go into this.

On Sun, Oct 19, 2025 at 3:27 PM Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]> wrote:

> On Sun, Oct 19, 2025 at 10:24 PM Frederick Virchanza Gotham wrote:
> >
> > string CompilerGenerated000(void)
> > {
> > SomeLibraryFunction( 8, 34.4 );
> > }
>
>
> return SomeLibraryFunction( 8, 34.4 );
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2025-10-20 00:00:06