CS202 6- ‹#›
Relational/Equality Operators
nclass string {
n  public:
n    friend bool operator < (const string &, char *);
n    friend bool operator < (char *, const string &);
n    friend bool operator < (const string &, const string &);
n
n    friend bool operator <= (const string &, char *);
n    friend bool operator <= (char *, const string &);
n    friend bool operator <= (const string &,const string &);
n
n    friend bool operator > (const string &, char *);
n    friend bool operator > (char *, const string &);
n    friend bool operator > (const string &, const string &);
n
n    friend bool operator >= (const string &, char *);
n    friend bool operator >= (char *, const string &);
n    friend bool operator >= (const string &,const string &);
n
n    friend bool operator != (const string &, char *);
n    friend bool operator != (char *, const string &);
n    friend bool operator != (const string &,const string &);
n
n    friend bool operator == (const string &, char *);
n    friend bool operator == (char *, const string &);
n    friend bool operator == (const string &,const string &);
n