Const ref and rvalues again...

Timon Gehr timon.gehr at gmx.ch
Sat Oct 20 17:05:13 PDT 2012


On 10/20/2012 08:25 PM, Malte Skarupke wrote:
> ...
>
> So it comes down to this:
>
> void goo(scope int* x)
> {
>      global0 = x; // copying is allowed
>      //global1 = &x; // referencing is not allowed
> }
>
>

That is useless.


More information about the Digitalmars-d mailing list