[Issue 7606] core.time.TickDuration opCmp accepts only lvalues
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 28 13:13:55 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7606
Alex Rønne Petersen <xtzgzorex at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xtzgzorex at gmail.com
--- Comment #1 from Alex Rønne Petersen <xtzgzorex at gmail.com> 2012-02-28 13:13:53 PST ---
What's happening here is that TickDuration's opCmp takes a 'ref' value. This is
exactly the reason I *always* avoid ref on op*(), because it creates annoying
situations like this one (in fact, I ran into this today as well).
I don't know if auto ref would fix this.
--
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