Compiler Error C2058

constant expression is not integral

The context requires an integral constant expression.