This documentation is archived and is not being maintained.
Compiler Error C2825
Visual Studio 2008
var : must be a class or namespace when followed by '::'
An unsuccessful attempt was made to form a qualified name.
For example, make sure that your code does not contain a function declaration where the function name begins with ::.