|
Boost : |
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2005-06-24 15:30:47
"David Abrahams" <dave_at_[hidden]> escribió en el mensaje
news:uekarikob.fsf_at_boost-consulting.com...
> "Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:
>
>>> [SNIPPED]
>>> It is because bad_numeric_cast is now defined as
>>> boost::numeric::bad_numeric_cast instead of boost::bad_numeric_cast.
>>> This
>>> simple patch fixes the problem:
>>>
>> Oh, another one of my yesterday's faults.
>>
>> OK, I used the same technique for the exception class coming from
>> old_numeric_cast.hpp
>>
>> Now _the_ exception class is defined solely in
>>
>> numeric/conversion/converter_policies.hpp
>>
>> and put into boost namespace by numeric/conversion/cast.hpp
>
> I'm confused.
>
> I had already fixed it; and apparently there have been no changes to
> numeric/conversion/cast.hpp since I made my changes.
>
Right,
but boost/numeric/conversion/detail/old_numeric_cast.hpp
(which you created becasue I fotgot to commit it)
had still its own version of the class,
so I just added there an include to "converter_policies.hpp"
and added the using just like in cast.hpp
Fernando Cacciola
SciSoft
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk