[phobos] [D-Programming-Language/phobos] 3d559d: Revert "Removed new, unnecessary overload of count...

noreply at github.com noreply at github.com
Mon Aug 15 14:33:11 PDT 2011

  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos

  Commit: 3d559d88a88b4b4427a85f4601ef7784f361522f
  Author: jonathan.davis <jonathan.davis at pelco.com>
  Date:   2011-08-15 (Mon, 15 Aug 2011)

  Changed paths:
    M std/algorithm.d

  Log Message:
  Revert "Removed new, unnecessary overload of countUntil."

This reverts commit b1765dc0cb5f2e185648935448a2b215d07ed2c2.

Okay. So, I misread what count does and reverted my previous changes
prematurely. So I'm putting them back. count counts the number of
elements in the entire range which match the predicate, not just until
the predicate fails. So, it does _not_ do what the new overload of
countUntil does.

More information about the phobos mailing list