[Issue 8490] Global property calls do not work with pointers
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Sep  4 10:54:45 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8490
Jonathan M Davis <jmdavisProg at gmx.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com
--- Comment #6 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-04 10:55:18 PDT ---
> Having methods (what UFCS emulates) which implicitly create a copy of the
object and operate on that copy would be confusing.
This already happens with structs and UFCS in general. e.g.
struct S {}
auto func(S s, int i) {...}
s.func(5);
makes as copy. So, I don't see that as a problem at all.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list