
"David Abrahams" <dave@boost-consulting.com> escribió en el mensaje news:uekarikob.fsf@boost-consulting.com...
"Fernando Cacciola" <fernando_cacciola@hotmail.com> 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