Opened 15 years ago

Closed 14 years ago

#1694 closed Bugs (fixed)

NDEBUG vs. BOOST_ASSERT in iterator_range.hpp

Reported by: david.gruener@… 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.

Change History (1)

comment:1 by Thorsten Ottosen, 14 years ago

Resolution: fixed
Status: newclosed

is_singular() is now defined no matter what.

Thanks

-Thorsten

Note: See TracTickets for help on using tickets.