[Issue 8216] CTFE should allow 'pointer is inside range' comparisons

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 11 08:08:51 PDT 2012


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



--- Comment #2 from github-bugzilla at puremagic.com 2012-06-11 08:10:59 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/65aa891c4891f4aa3a7d9ddee6b9c41a90ceaa4b
Fix issue 8216 CTFE should allow 'pointer is inside range' comparisons

Allows comparisons between pointers to unrelated memory blocks as long as
both directions are checked within a single && or || expression.
Never allows the ordering to be exposed to user code.
(In fact, internally there isn't any ordering!)

https://github.com/D-Programming-Language/dmd/commit/9a70c56ba3d18d5aa512a88b0e820ef3ef95b191
Merge pull request #998 from donc/8216pointerInsideCTFE

Fix issue 8216 CTFE should allow 'pointer is inside range' comparisons

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