My thoughts & tries with rvalue references

kenji hara k.hara.pg at gmail.com
Tue Apr 2 10:30:18 PDT 2013


I think 'scope ref' is better.
'in' = 'const scope', then 'in ref' = 'const scope ref'.

bool opEquals(in ref T rhs) const { ... }

Kenji Hara
2013/03/30 21:06 "Namespace" <rswhite4 at googlemail.com>:

> As far as I studied the code, something like @ref isn't possible, because
> ref is already a keyword. Except as Pseudo-property. But this is a
> combination of '@' and 'ref' so that both, '@ref' and '@ ref' would be
> valid.
> I still like the idea of '&A'.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130403/f28e79a2/attachment.html>


More information about the Digitalmars-d mailing list