Standard library header <cassert>

From cppreference.com

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

This header is part of the error handling library.

[edit] Macros

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