From: "Roger Womack" <[EMAIL PROTECTED]>

> bool operator != (const CFoo& s1, const CFoo& s2);
> 
> but the compiler gives the following :-
> 
> Error   : illegal 'operator' declaration
> stdafx.h line 50    bool operator != (const CFoo& s1, const CFoo& s2);

Looks like CFoo hasn't been declared. Try

  class CFoo;
  bool operator != (const CFoo& s1, const CFoo& s2);


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to