D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8112 - std.algorithm.fill must accept InputRange
Summary: std.algorithm.fill must accept InputRange
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2012-05-17 10:58 UTC by Guillaume Chatelet
Modified: 2012-05-28 11:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Guillaume Chatelet 2012-05-17 10:58:33 UTC
std.algorithm.fill only accepts ForwardRange which is too restrictive. Both versions of fill should accept an InputRange.
Comment 1 Guillaume Chatelet 2012-05-24 11:57:55 UTC
A pull request is pending for this issue
https://github.com/D-Programming-Language/phobos/pull/588
Comment 2 github-bugzilla 2012-05-27 20:35:14 UTC
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