On Apr 16, 2012, at 4:48 PM, "Jonathan M Davis" <[email protected]> wrote:

> [scope is] really only applicable to 
> reference types, so no copying would be occuring anyway. The issue is when 
> you 
> have value types that you don't necessarily want to copy.

Scope isn't implemented for anything but delegates. If something is const and 
no references are escaped, then both a copy and pass by reference can serve the 
same purpose.

_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to