C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
C2589
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2589
 
     'identifier' : illegal token on right side of '::'
 
     The token on the right side of the scope resolution operator (::)
     was not legal.
 
     Only a member of a class (or structure or union) can be on the right
     side of the scope resolution operator if a class name is on the
     left side.  Otherwise, any global identifier can be on the right
     side.
                                    -♦-