Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: 3d559d88a88b4b4427a85f4601ef7784f361522f
https://github.com/D-Programming-Language/phobos/commit/3d559d88a88b4b4427a85f4601ef7784f361522f
Author: jonathan.davis <[email protected]>
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.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos