On Thursday, 20 February 2014 at 19:46:35 UTC, w0rp wrote:
if (s.length > 0 && s.all!isDigit) { // Never throws now. auto x = parse!int(s); }
Nope, integer overflow exception. Though I didn't check if it would actually through that, but it should.
On Thursday, 20 February 2014 at 19:46:35 UTC, w0rp wrote:
if (s.length > 0 && s.all!isDigit) { // Never throws now. auto x = parse!int(s); }
Nope, integer overflow exception. Though I didn't check if it would actually through that, but it should.