|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51618 - branches/release/boost/tuple
From: steven_at_[hidden]
Date: 2009-03-04 22:56:53
Author: steven_watanabe
Date: 2009-03-04 22:56:52 EST (Wed, 04 Mar 2009)
New Revision: 51618
URL: http://svn.boost.org/trac/boost/changeset/51618
Log:
Merge [51449] from the trunk.
Text files modified:
branches/release/boost/tuple/tuple_comparison.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: branches/release/boost/tuple/tuple_comparison.hpp
==============================================================================
--- branches/release/boost/tuple/tuple_comparison.hpp (original)
+++ branches/release/boost/tuple/tuple_comparison.hpp 2009-03-04 22:56:52 EST (Wed, 04 Mar 2009)
@@ -69,8 +69,8 @@
template<class T1, class T2>
inline bool lt(const T1& lhs, const T2& rhs) {
return lhs.get_head() < rhs.get_head() ||
- !(rhs.get_head() < lhs.get_head()) &&
- lt(lhs.get_tail(), rhs.get_tail());
+ ( !(rhs.get_head() < lhs.get_head()) &&
+ lt(lhs.get_tail(), rhs.get_tail()));
}
template<>
inline bool lt<null_type,null_type>(const null_type&, const null_type&) { return false; }
@@ -78,8 +78,8 @@
template<class T1, class T2>
inline bool gt(const T1& lhs, const T2& rhs) {
return lhs.get_head() > rhs.get_head() ||
- !(rhs.get_head() > lhs.get_head()) &&
- gt(lhs.get_tail(), rhs.get_tail());
+ ( !(rhs.get_head() > lhs.get_head()) &&
+ gt(lhs.get_tail(), rhs.get_tail()));
}
template<>
inline bool gt<null_type,null_type>(const null_type&, const null_type&) { return false; }
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk