Opened 15 years ago

Closed 15 years ago

#1392 closed Feature Requests (fixed)

BOOST_VERIFY macro, similar to BOOST_ASSERT

Reported by: anonymous Owned by: Peter Dimov
Milestone: To Be Determined Component: None
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

The BOOST_VERIFY macro should do the same as BOOST_ASSERT, but always evaluate the side effects of the expression, even when assertion is turned off, as e.g. in release builds.

This will help to lower the noise on "unused variable" warnings in release builds.

Change History (2)

comment:1 by Roland Schwarz, 15 years ago

Owner: set to Peter Dimov

comment:2 by Peter Dimov, 15 years ago

Resolution: fixed
Status: newclosed

This has been implemented on the trunk and is already merged into the 1.35 release.

Note: See TracTickets for help on using tickets.