$include_dir="/home/hyper-archives/boost/include";
include("$include_dir/msg-header.inc")
?>
- Next message: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- Previous message: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- In reply to: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- Next in thread: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- Reply: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
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
- Next message: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- Previous message: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- In reply to: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- Next in thread: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
- Reply: Fernando Cacciola: "RE: [boost] casts, exceptions, and asserts"
$include_dir="/home/hyper-archives/boost/include";
include("$include_dir/msg-footer.inc");
?>