From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-08-23 14:39:15


helmut.zeisel_at_[hidden] wrote:
> A user of my big_int implementation asked me if
> I could add implicit conversion to less precise integral types.

No.

> since this is offered also buy built-in integers.

That rather means it's a bug with the built-in integers
that you can implicitly cast a long to an int. You shouldn't.

> This implicit conversion, however, is an unsafe operation,
> so I am not sure whether it should be offered.

It should not. You're doing an unsafe operation, so you
should request that explicitly.

Jens Maurer