D-Programming-Language/phobos — pull request #545 by eco (2012-04-20 02:03:27+00:00)
Title: fix Issue 7944 - std.range.iota.popFront() cycles when the range is empty

Added !empty assertions to front, popFront, back, and popBack to the integer iota like some other ranges do to catch popping an empty range. Also added the !empty assert to floating point iota front() which was the only one of those four that was missing.