[phobos] [D-Programming-Language/phobos] b7472c: Corrected constraints for std.algorithm.endsWith

GitHub noreply at github.com
Sat Dec 15 18:43:47 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: b7472c4e3958845b1903d3e523c0062cfac1c58d
      https://github.com/D-Programming-Language/phobos/commit/b7472c4e3958845b1903d3e523c0062cfac1c58d
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2012-12-15 (Sat, 15 Dec 2012)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Corrected constraints for std.algorithm.endsWith

Previously endsWith constraints only required input ranges, but the algorithm uses `back` and `popBack` within, so clearly a bidirectional range is needed.


  Commit: ec23ff30ace40951d78a0fcb13d7214fe52f278b
      https://github.com/D-Programming-Language/phobos/commit/ec23ff30ace40951d78a0fcb13d7214fe52f278b
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2012-12-15 (Sat, 15 Dec 2012)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Merge pull request #1012 from Poita/endsWithConstraints

Corrected constraints for std.algorithm.endsWith


Compare: https://github.com/D-Programming-Language/phobos/compare/b6b223ecdbfe...ec23ff30ace4


More information about the phobos mailing list