Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DebugSupport.h File Reference


Detailed Description

This file defines the assert macro.

The definition depends on the value of the preprocessor symbols USE_SYSTEM_ASSERT and NDEBUG (these symbols should normally be defined in file CompilerSwitches). If either or both of these two symbols are defined, then the standard definition of assert as contained in the standard library is used. If neither of these two symbols is defined, then assert is defined to output an error message whenever the argument expression is true. This form of assert is useful when it is desirable to be notified of assertion violation but it is also desirable to continue execution after the violation in order to check how the program copes with a non-nominal situation.

Definition in file DebugSupport.h.

Go to the source code of this file.

Copyright 2003 P&P Software GmbH - All Rights Reserved