|
Boost : |
From: Ben Young (ben.young_at_[hidden])
Date: 2002-11-25 09:49:24
Ooops,
> template<class T1, class T2, class T3, class T4, class T5, class T6>
> bool strict_weak_ordering(const T1& lhs1, const T1& rhs1,
> const T2& lhs2, const T2& rhs2,
> const T3& lhs3, const T3& rhs3,
> const T4& lhs4, const T4& rhs4,
> const T5& lhs5, const T5& rhs5,
> const T6& lhs5, const T6& rhs5)
> {
> if(lhs1 < rhs1) return true;
> else if(rhs1 < lhs1) return false;
> else return strict_weak_ordering(lhs2, rhs2,
> lhs3, rhs3,
> lhs4, rhs4,
> lhs5, rhs5,
> lhs6, rhs6);
> }
Should have been
bool strict_weak_ordering(const T1& lhs1, const T1& rhs1,
const T2& lhs2, const T2& rhs2,
const T3& lhs3, const T3& rhs3,
const T4& lhs4, const T4& rhs4,
const T5& lhs5, const T5& rhs5,
const T6& lhs6, const T6& rhs6)
{
if(lhs1 < rhs1) return true;
else if(rhs1 < lhs1) return false;
else return strict_weak_ordering(lhs2, rhs2,
lhs3, rhs3,
lhs4, rhs4,
lhs5, rhs5,
lhs6, rhs6);
}
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk