Same think: missing operator!= for Quadruple.

Warning: I have not tested that one.
This commit is contained in:
Laurent Rineau 2007-04-14 18:10:44 +00:00
parent ec055e953b
commit f9538d6cb8
1 changed files with 12 additions and 0 deletions

View File

@ -158,6 +158,18 @@ operator==(const Quadruple<T1, T2, T3, T4>& x,
(x.fourth == y.fourth) );
}
template <class T1, class T2, class T3, class T4>
inline
bool
operator!=(const Quadruple<T1, T2, T3, T4>& x,
const Quadruple<T1, T2, T3, T4>& y)
{
return ( (x.first == y.first) &&
(x.second == y.second) &&
(x.third == y.third) &&
(x.fourth == y.fourth) );
}
template <class T1, class T2, class T3, class T4>
inline
bool