Namespaces
Variants
Actions

Standard library header <cassert>

From cppreference.com
< cpp‎ | header
 
C++
 
Standard library headers
 

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 */

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant