Поделиться через


ATLASSERT

The ATLASSERT macro performs the same functionality as the _ASSERTE macro found in the C run-time library.

ATLASSERT( booleanExpression );

Parameters

  • booleanExpression
    Expression (including pointers) that evaluates to nonzero or 0.

Remarks

In debug builds, ATLASSERT evaluates booleanExpression and generates a debug report when the result is false.

Requirements

Header: atldef.h

See Also

Other Resources

Debugging and Error Reporting Macros

ATL Macros