On Sunday, 15 August 2021 at 21:53:14 UTC, Carl Sturtivant wrote:
On Sunday, 15 August 2021 at 07:10:17 UTC, JG wrote:
[...]

What you are asking for are reference variables. C++ has them: the example here illustrates the behavior you want.
https://www.geeksforgeeks.org/references-in-c/

[...]

Thanks for the links and code. Looking at the assembly as suggested by others it seems that after optimization this not too bad.

Reply via email to