Boost logo

Boost :

From: helmut.zeisel_at_[hidden]
Date: 2001-11-03 18:24:37

--- In boost_at_y..., "Fernando Cacciola" <fcacciola_at_g...> wrote:
> Hi,
> I uploaded a new version of the improved numeric_cast<>.
> It now works with bc5.5.1 and gcc2.95.2+
> I also uploaded the individual files along with the .zip archive.
> I'll appreciate any comments...

Here is one more comment from me:

I get the impression that you changed the default
behavior to rounding instead of truncating;
i.e. numeric_cast<int>(5.7) == 6.

I am not sure what the best choice for the
default behavior should be,
but I definitely need truncating.

Is there a simple way to obtain truncating?


Boost list run by bdawes at, gregod at, cpdaniel at, john at