[Issue 7177] $ should forward to length by default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 22 14:56:21 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7177
--- Comment #43 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-03-22 14:56:19 PDT ---
I think that being able to do something like overload + for strings would be
very bad (which having UFCS work with overloaded operators would allow), and
the fact that there would be no way to differentiate between functions when
overloaded operators which used UFCS conflicted just makes it worse.
But opDollar is quite different from other operators (it's really not any
different from overloading any function with a particular name, since it's
quite restricted it what it's used for), so maybe it's okay for it. I'd be
quite opposed to allowing it in general though.
--
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