Language:
Русский
English
Constant expressions
A constant expression is an expression that can be evaluated by the compiler without actually executing the program.
Because the compiler must be able to completely evaluate a constant expression at compile time, these constructs are not allowed in constant expressions:
- references to variables and typed constants (except in
constant address expressions)
- the @ operator (except in constant address expressions)
- function calls (except the following)
These standard functions can be used in constant expressions: