Date: Sat, 6 Sep 2025 05:53:05 +0200
> Given the following function signature:
>
> void foo(int);
>
> There is way to to tell, from inside the function block,
> if the parameter passed to this function is an lvalue, prvalue or xvalue,
> since int can be initialized from any of them.
> Despite there is a fundamental difference between lvalue, prvalue, and xvalue,
> yet we are not taking advantage of that because we cannot differentiate between them.
>
> Is there any proposal talking about this problem?
>
> void foo(int);
>
> There is way to to tell, from inside the function block,
> if the parameter passed to this function is an lvalue, prvalue or xvalue,
> since int can be initialized from any of them.
> Despite there is a fundamental difference between lvalue, prvalue, and xvalue,
> yet we are not taking advantage of that because we cannot differentiate between them.
>
> Is there any proposal talking about this problem?
Received on 2025-09-06 03:53:21