Crossware

Table of Contents        Previous topic       Next topic       

C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Non-Member Functions->Relational

#include <string>

bool operator == (const string &lhs,const string &rhs)

Returns true if the two arguments are equal otherwise it returns false.

bool operator == (const char *lhs,const string &rhs)

Returns true if the two arguments are equal otherwise it returns false.

bool operator == (const string &lhs,const char *rhs)

Returns true if the two arguments are equal otherwise it returns false.

bool operator != (const string &lhs,const string &rhs)

Returns true if the two arguments are not equal otherwise it returns false.

bool operator != (const char *lhs,const string &rhs)

Returns true if the two arguments are not equal otherwise it returns false.

bool operator != (const string &lhs,const char *rhs)

Returns true if the two arguments are not equal otherwise it returns false.

bool operator < (const string &lhs,const string &rhs)

Returns true if the first arguments is less than the second argument otherwise it returns false.

bool operator < (const string &lhs,const char *rhs)

Returns true if the first arguments is less than the second argument otherwise it returns false.

bool operator < (const char *lhs,const string &rhs)

Returns true if the first arguments is less than the second argument otherwise it returns false.

bool operator > (const string &lhs,const string &rhs)

Returns true if the first arguments is greater than the second argument otherwise it returns false.

bool operator > (const string &lhs,const char *rhs)

Returns true if the first arguments is greater than the second argument otherwise it returns false.

bool operator > (const char *lhs,const string &rhs)

Returns true if the first arguments is greater than the second argument otherwise it returns false.

bool operator <= (const string &lhs,const string &rhs)

Returns true if the first arguments is less than or equal to the second argument otherwise it returns false.

bool operator <= (const string &lhs,const char *rhs)

Returns true if the first arguments is less than or equal to the second argument otherwise it returns false.

bool operator <= (const char *lhs,const string &rhs)

Returns true if the first arguments is less than or equal to the second argument otherwise it returns false.

bool operator >= (const string &lhs,const string &rhs)

Returns true if the first arguments is greater than or equal to the second argument otherwise it returns false.

bool operator >= (const string &lhs,const char *rhs)

Returns true if the first arguments is greater than or equal to the second argument otherwise it returns false.

bool operator >= (const char *lhs,const string &rhs)

Returns true if the first arguments is greater than or equal to the second argument otherwise it returns false.