The use of brace-initialization to construct a temporary in a function argument list fails with the error C2275; "illegal use of this type as an expression".Workaround: Use old-style constructor call syntax.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results