Bug 8112 – std.algorithm.fill must accept InputRange

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-17T10:58:00Z
Last change time
2012-05-28T11:50:31Z
Keywords
pull
Assigned to
nobody
Creator
chatelet.guillaume

Comments

Comment #0 by chatelet.guillaume — 2012-05-17T10:58:33Z
std.algorithm.fill only accepts ForwardRange which is too restrictive. Both versions of fill should accept an InputRange.
Comment #1 by chatelet.guillaume — 2012-05-24T11:57:55Z
A pull request is pending for this issue https://github.com/D-Programming-Language/phobos/pull/588
Comment #2 by github-bugzilla — 2012-05-27T20:35:14Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e9dd66f8a0da1f4987a366f1a194b983c45c4b72 Issue 8112 - std.algorithm.fill accepts InputRange https://github.com/D-Programming-Language/phobos/commit/b1e1fa658db1a277b37c32b1e4568b18c8bdf441 Merge pull request #588 from gchatelet/input_range_fill_algorithm Issue 8112 - std.algorithm.fill must accept InputRange