D-Programming-Language/phobos — pull request #2198 by lionello (2014-05-23 15:19:29+00:00)
Title: Added std.algorithm.safeLess for safe signed/unsigned comparison

Added safeLess and rewrote min/max to use safeLess. This is useful for fixing signed/unsigned comparisons once 259 gets fixed.