Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2001-10-26 18:27:20

on 10/26/01 4:20 PM, Fernando Cacciola at fcacciola_at_[hidden] wrote:

> If I interpreted you correctly now, this is already supported.
> numeric_cast_traits<S,T>::subranged is true if the conversion could loose
> precision.
> you can wrap that in a static_cast<>

I'm talking about implementing that operation in cast.hpp. I understand that
your conversion traits is the tool for implementing it. But I was thinking
of giving it a name.

    -- Darin

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