December 15, 2012 [phobos] [D-Programming-Language/phobos] b7472c: Corrected constraints for std.algorithm.endsWith | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation