mirror of https://github.com/CGAL/cgal
Triple had an operator==. The operator!= was missing.
This commit is contained in:
parent
d987c81bd6
commit
ec055e953b
|
|
@ -81,6 +81,15 @@ inline bool operator==(const Triple<T1, T2, T3>& x,
|
||||||
(x.third == y.third) );
|
(x.third == y.third) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <class T1, class T2, class T3>
|
||||||
|
inline bool operator!=(const Triple<T1, T2, T3>& x,
|
||||||
|
const Triple<T1, T2, T3>& y)
|
||||||
|
{
|
||||||
|
return ( (x.first != y.first) ||
|
||||||
|
(x.second != y.second) ||
|
||||||
|
(x.third != y.third) );
|
||||||
|
}
|
||||||
|
|
||||||
template <class T1, class T2, class T3>
|
template <class T1, class T2, class T3>
|
||||||
inline
|
inline
|
||||||
bool operator<(const Triple<T1, T2, T3>& x,
|
bool operator<(const Triple<T1, T2, T3>& x,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue