On Friday, 29 March 2013 at 19:38:32 UTC, Benjamin Thaut wrote:
2) The library needs something like an int_cast which checks casts from one integer type to another and asserts / throws on error.
uint value = 3408924; auto v = std.conv.to!int(value); Exception is thrown if an overflow occurs.