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