W3cubDocs

/C++

Standard library header <cassert>

This header was originally in the C standard library as <assert.h>.

This header is part of the error handling library.

Macros

aborts the program if the user-specified condition is not true. May be disabled for release builds
(function macro)

Synopsis

#define assert(E) /* see description */

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/header/cassert