E2089 Identifier 'identifier' cannot have a type qualifier (C++)
Go Up to Compiler Errors And Warnings (C++) Index
A C++ qualifier class::identifier can't be applied here.
A qualifier is not allowed on the following:
- typedef names
- function declarations (except definitions at the file level)
- on local variables or parameters of functions
- on a class member--except to use its own class as a qualifier (redundant but legal).