Opened 12 years ago
Closed 11 years ago
#5393 closed Bugs (fixed)
cast.hpp does not compile with exceptions off
Reported by: | anonymous | Owned by: | Douglas Gregor |
---|---|---|---|
Milestone: | To Be Determined | Component: | numeric |
Version: | Boost 1.47.0 | Severity: | Showstopper |
Keywords: | cast numeric converter_policies | Cc: |
Description
boost/cast.hpp includes boost/numeric/conversion/cast.hpp which includes boost/numeric/conversion/converter.hpp which includes boost/numeric/conversion/converter_policies.hpp
which uses throw (not boost::throw_exception)
with exceptions off, you cannot use throw(), try, catch, etc.
Note:
See TracTickets
for help on using tickets.
(In [77234]) Fixes #5731, fixes #5076, fixes #5393, fixes #5800 Now numeric_cast (and lexical_cast) can be compiled with disabled exceptions