rvalue references

Diggory diggsey at googlemail.com
Tue Apr 23 00:18:39 PDT 2013


I'd still like someone to explain how exactly "scope ref" would 
differ from "ref" if DIP25/DIP35 were implemented.

If the only difference is that "scope ref" can accept rvalues 
then why would you ever use normal "ref"? There are no extra 
restrictions needed on "scope ref" over and above normal "ref" 
under the assumption of DIP25/DIP35.



More information about the Digitalmars-d mailing list