The Wayback Machine - https://web.archive.org/web/20220424232508/https://en.cppreference.com/w/cpp/header/cassert
Namespaces
Variants
Views
Actions

Standard library header <cassert>

From cppreference.com
< cpp‎ | header
 
 
 

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) [edit]

[edit] Synopsis

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