[Issue 6986] SortedRange[x..$] fails with unidentified __dollar

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 21 23:13:57 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6986


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DMD                         |Phobos


--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-11-21 23:13:04 PST ---
It doesn't work that way. opDollar is what's supposed to be used. I forget all
of the reasons why, but I believe that it has to do with cases where opDollar
would do something more complicated than simply opSlice(p, x.length). opDollar
is more flexible for some set of cases, but they're not the sort of use cases
that I normally think of, so I don't remember the exact details at the moment.
I'd have to go digging through the newsgroup archives for discussions which
related to it.

-- 
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