[Issue 8573] A simpler Phobos function that returns the index of the mix or max item
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Dec 16 07:16:53 PST 2016
https://issues.dlang.org/show_bug.cgi?id=8573
--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/d2c7d3761b73405ee39da3fd7fe5030dee35a39e
Issue 8573 - A simpler Phobos function that returns the index of the mix or max
item
Issue 8573 - A simpler Phobos function that returns the index of the mix or max
item
added some review fixes
fixed an issue with a mutable variable
Applied review feedback
Renamed functions to minIndex and maxIndex + used sizediff_t for return value
type
Updated function so that it works optimally even for lazy ranges and algorithms
Reverted to having only copyable elements in ranges
Added more unittests; implemented an array path; fixed documentation
Squashed commits
https://github.com/dlang/phobos/commit/f3a840144a156fce5efee82ca13152c2ac1ef1c3
Merge pull request #4921 from RazvanN7/Issue_8573
Issue 8573 - A simpler Phobos function that returns the index of the …
--
More information about the Digitalmars-d-bugs
mailing list