W8115 Constant expression expected; statement ignored (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

This message occurs when you have used the statement:

static_assert(expr, "string") 

This statement is ignored if the expression 'expr' is not constant.

For more information, see Static Assertions (C++11).