Quick Links:

bal | bbl | bdl | bsl

Component bsls_asserttest_macroreset
[Package bsls]

Undefine macros related to bsls_asserttest.h. More...

Outline
Purpose:
Undefine macros related to bsls_asserttest.h.
Description:
This component provides a header that is included to undefine all macros defined in bsls_asserttest.h, bsls_assert.h, and bsls_review.h; it is designed to be re-includable. This is for the use of the bsls_assertest test driver to enable it to re-include the bsls_asserttest.h header with different input macros and verify that they output the correct resulting macro definitions.
Usage:
To undefine all macros defined in bsls_asserttest.h, bsls_assert.h and bsls_review.h, first disable the header include guard for this header (bsls_asserttest_macroreset.h):
  #undef INCLUDED_BSLS_ASSERTTEST_MACRORESET
Then re-include this header, which will undefine the macros that were defined by bsls_asserttest.h, bsls_assert.h and bsls_review.h: Then define any macros that control the behaviors of bsls_asserttest.h, bsls_assert.h and bsls_review.h for this particular test, then re-include bsls_asserttest.h:
  #include <bsls_asserttest.h>