This documentation is archived and is not being maintained.

Compiler Error C2465

cannot define an anonymous type inside parentheses

An anonymous structure, union, or enumerated type is defined inside a parenthetical expression. This is invalid in C++ because the definition is meaningless in function scope.

Show: