]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/ext/std/integral_constant/comparable.cpp
1 // Copyright Louis Dionne 2013-2016
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
5 #include <boost/hana/ext/std/integral_constant.hpp>
7 #include <boost/hana/tuple.hpp>
9 #include <laws/comparable.hpp>
10 #include <laws/hashable.hpp>
12 #include <type_traits>
13 namespace hana
= boost::hana
;
17 auto ints
= hana::make_tuple(
18 std::integral_constant
<int, -10>{},
19 std::integral_constant
<int, -2>{},
20 std::integral_constant
<int, 0>{},
21 std::integral_constant
<int, 1>{},
22 std::integral_constant
<int, 3>{}
25 hana::test::TestComparable
<hana::ext::std::integral_constant_tag
<int>>{ints
};
26 hana::test::TestHashable
<hana::ext::std::integral_constant_tag
<void>>{ints
};