summaryrefslogtreecommitdiff
path: root/boost/hana/less.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:08:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:09:00 +0900
commitb5c87084afaef42b2d058f68091be31988a6a874 (patch)
treeadef9a65870a41181687e11d57fdf98e7629de3c /boost/hana/less.hpp
parent34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff)
downloadboost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz
boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2
boost-b5c87084afaef42b2d058f68091be31988a6a874.zip
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/hana/less.hpp')
-rw-r--r--boost/hana/less.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/hana/less.hpp b/boost/hana/less.hpp
index eff6d3709b..05cceabb1d 100644
--- a/boost/hana/less.hpp
+++ b/boost/hana/less.hpp
@@ -2,7 +2,7 @@
@file
Defines `boost::hana::less`.
-@copyright Louis Dionne 2013-2016
+@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -103,8 +103,8 @@ BOOST_HANA_NAMESPACE_BEGIN
>> {
template <typename X, typename Y>
static constexpr auto apply(X const&, Y const&) {
- constexpr auto less = hana::less(hana::value<X>(), hana::value<Y>());
- constexpr bool truth_value = hana::if_(less, true, false);
+ constexpr auto is_less = hana::less(hana::value<X>(), hana::value<Y>());
+ constexpr bool truth_value = hana::if_(is_less, true, false);
return hana::bool_c<truth_value>;
}
};