Expression Evaluator Error CXX0031


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Expression Evaluator Error CXX0031.

expression not expandable

The expression evaluator encountered an internal error.

You may be able to write an equivalent expression that can be evaluated correctly.

This error is identical to CAN0031.