Binding rvalues to ref [WAS: I close BIP27. I won't be pursuing BIPs anymore]

Namespace via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 19 11:18:43 PDT 2016


On Wednesday, 19 October 2016 at 18:15:25 UTC, Jonathan M Davis 
wrote:
> Which then causes the problem that it becomes much less clear 
> whether ref is supposed to be modifying its argument or is just 
> trying to avoid copying it - though good documentation can 
> mitigate that problem.
>
> - Jonathan M Davis

As long as it would be marked with scope (or some similar 
attribute) so that it cannot escape, it would be fine, wouldn't 
it?


More information about the Digitalmars-d mailing list