_WPRTLINK int operator > ( char l, const String &r ) { /***************************************************/ // Greater-than operator: compare a character to a String return( __CompareChars( &l, 1, r.__srep->__value + r.__offset, r.__slength ) > 0 ); }
_WPRTLINK int operator > ( const char *l, const String &r ) { /**********************************************************/ // Greater-than operator: compare a C string to a String return( __CompareChars( l, -1, r.__srep->__value + r.__offset, r.__slength ) > 0 ); }
_WPRTLINK int operator < ( const String &l, const char *r ) { /**********************************************************/ // Less-than operator: compare a String to a C string return( __CompareChars( l.__srep->__value + l.__offset, l.__slength, r, -1 ) < 0 ); }