# Standard library header <cassert>

> C++ Atlas: `cppatlas.com/w/cpp/header/cassert` | Source: https://en.cppreference.com/w/cpp/header/cassert | Domain: Standard headers

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

## Official Specification Summary (cppreference)

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

This header is part of the error handling library.

**Macros**

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

### Synopsis

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

---
Attribution: content from https://en.cppreference.com/w/cpp/header/cassert (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.