[phobos] [D-Programming-Language/phobos] 028699: fix Issue 7944 - std.range.iota.popFront() cycles ...

GitHub noreply at github.com
Sun Apr 22 18:02:18 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 028699fe6ca3defa598fef65ffd287e7e3626f72
      https://github.com/D-Programming-Language/phobos/commit/028699fe6ca3defa598fef65ffd287e7e3626f72
  Author: Brad Anderson <eco at gnuk.net>
  Date:   2012-04-19 (Thu, 19 Apr 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  fix Issue 7944 - std.range.iota.popFront() cycles when the range is empty

Added !empty assertions to front, popFront, back, and popBack to the integer
iota like some other ranges do. Also added the one that was missing to the
floating point iota.


  Commit: 23bfcd766f71f2f6c0fb007b7b74a29417afc3a8
      https://github.com/D-Programming-Language/phobos/commit/23bfcd766f71f2f6c0fb007b7b74a29417afc3a8
  Author: Brad Anderson <eco at gnuk.net>
  Date:   2012-04-20 (Fri, 20 Apr 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Add index < length assert to iota.opIndex


  Commit: 9233d3d20d18e2babf5395c4fb934c800b27ca7d
      https://github.com/D-Programming-Language/phobos/commit/9233d3d20d18e2babf5395c4fb934c800b27ca7d
  Author: David Simcha <dsimcha at gmail.com>
  Date:   2012-04-22 (Sun, 22 Apr 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #545 from eco/iota-pop-empty

fix Issue 7944 - std.range.iota.popFront() cycles when the range is empty


Compare: https://github.com/D-Programming-Language/phobos/compare/b1252f3...9233d3d


More information about the phobos mailing list