forked from boostorg/tuple
Merge [51449] from the trunk.
[SVN r51618]
This commit is contained in:
@ -69,8 +69,8 @@ inline bool neq<null_type,null_type>(const null_type&, const null_type&) { retur
|
|||||||
template<class T1, class T2>
|
template<class T1, class T2>
|
||||||
inline bool lt(const T1& lhs, const T2& rhs) {
|
inline bool lt(const T1& lhs, const T2& rhs) {
|
||||||
return lhs.get_head() < rhs.get_head() ||
|
return lhs.get_head() < rhs.get_head() ||
|
||||||
!(rhs.get_head() < lhs.get_head()) &&
|
( !(rhs.get_head() < lhs.get_head()) &&
|
||||||
lt(lhs.get_tail(), rhs.get_tail());
|
lt(lhs.get_tail(), rhs.get_tail()));
|
||||||
}
|
}
|
||||||
template<>
|
template<>
|
||||||
inline bool lt<null_type,null_type>(const null_type&, const null_type&) { return false; }
|
inline bool lt<null_type,null_type>(const null_type&, const null_type&) { return false; }
|
||||||
@ -78,8 +78,8 @@ inline bool lt<null_type,null_type>(const null_type&, const null_type&) { return
|
|||||||
template<class T1, class T2>
|
template<class T1, class T2>
|
||||||
inline bool gt(const T1& lhs, const T2& rhs) {
|
inline bool gt(const T1& lhs, const T2& rhs) {
|
||||||
return lhs.get_head() > rhs.get_head() ||
|
return lhs.get_head() > rhs.get_head() ||
|
||||||
!(rhs.get_head() > lhs.get_head()) &&
|
( !(rhs.get_head() > lhs.get_head()) &&
|
||||||
gt(lhs.get_tail(), rhs.get_tail());
|
gt(lhs.get_tail(), rhs.get_tail()));
|
||||||
}
|
}
|
||||||
template<>
|
template<>
|
||||||
inline bool gt<null_type,null_type>(const null_type&, const null_type&) { return false; }
|
inline bool gt<null_type,null_type>(const null_type&, const null_type&) { return false; }
|
||||||
|
Reference in New Issue
Block a user