Exemple #1
0
	friend bool operator>=(Subclass const& lhs, T const& rhs)
	{
		return lhs.compare(rhs) >= 0;
	}
Exemple #2
0
	friend bool operator!=(T const& lhs, Subclass const& rhs)
	{
		return rhs.compare(lhs) != 0;
	}
Exemple #3
0
	friend bool operator<=(Subclass const& lhs, Subclass const& rhs)
	{
		return lhs.compare(rhs) <= 0;
	}
Exemple #4
0
 friend bool operator>=(const Subclass& lhs, const T& rhs) {
     return lhs.compare(rhs) >= 0;
 }
Exemple #5
0
 friend bool operator!=(const T& lhs, const Subclass& rhs) {
     return rhs.compare(lhs) != 0;
 }
Exemple #6
0
 friend bool operator<=(const Subclass& lhs, const Subclass& rhs) {
     return lhs.compare(rhs) <= 0;
 }