static_assert
Go Up to Keywords, Alphabetical Listing Index
Category
Statements, C++ Specific Keywords
Syntax
static_assert (constant-expression, error-message);
Description
The static_assert keyword is used to test assertions at compile time, rather than at preprocessor or run time.