D-Programming-Language/phobos — pull request #1070 by monarchdodra (2013-01-12 13:08:49+00:00)
Title: Fix issue 9299 - std.algorithm.minPos of const(int)[]

minPos didn't work with immutable elements anymore. Fixed and unittested.

Also: re-enforced constraints. Changed `p` (implies pointer) for 'v' (implies value).

Note that minCount remains broken. It is z bit harder to fix because minCount accepts simple input ranges (no save). The fix is more involved.