My thoughts & tries with rvalue references

Namespace rswhite4 at googlemail.com
Sat Mar 30 04:04:20 PDT 2013


> I have to agree on that. My first impression was that ref& is 
> equal to c++11 &&
>
> Kind Regards
> Benjamin Thaut

Ok, it seems that I think differently.
And what is the general opinion of '&A' instead of 'ref &A'?
It has all the benefits that I described in my first post, but it 
may not be so confusing.
If you like to ask "why not A&": That is more complex as it seems 
to be, a opinion which is shared by Jonathan.
And I sincerely hope that no one is annoyed about my attempts to 
solve this problem.


More information about the Digitalmars-d mailing list