Opened 15 years ago
Closed 14 years ago
#1694 closed Bugs (fixed)
NDEBUG vs. BOOST_ASSERT in iterator_range.hpp
Reported by: | Owned by: | Thorsten Ottosen | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | range |
Version: | Severity: | Showstopper | |
Keywords: | range iterator_range iterator BOOST_ASSERT NDEBUG | Cc: |
Description
In
range/iterator_range.hpp
is assumed that BOOST_ASSERT(x) evaluates to nothing
when NDEBUG is set.
This is not the case if one installs
an assert handler in release mode.
Note:
See TracTickets
for help on using tickets.
is_singular() is now defined no matter what.
Thanks
-Thorsten