Andrej Mitrovic <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Andrej Mitrovic <> 2012-08-29 
16:36:05 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > Why dangerous? Normal method invocations work, so why shouldn't UFCS work?
> Having methods (what UFCS emulates) which implicitly create a copy of the
> object and operate on that copy would be confusing. Both for the interface 
> user
> and the creator. The latter will be forgetting about the 'ref' while the 
> former
> will not expect 'o.whatever' to copy 'o' and call 'whatever' using that 
> private
> copy. Both issues would be bug sources.
> Not introducing unsound features is easier than later removing them...

Oh I see what's going on now, the pointer can't be passed because it would have
to be dereferenced. I think this is invalid then, thanks.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to