On 8/23/13, H. S. Teoh <hst...@quickfur.ath.cx> wrote:
> Whether to() *should* attempt the conversion
> is a different matter, though.

to!() is used for save conversions, so it should try to convert and
throw an exception if conversion fails. For example:

byte x = to!byte(int.max);

std.conv.ConvOverflowException@conv.d(1335): Conversion positive overflow

Reply via email to