]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/ext/std/integral_constant/orderable.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / ext / std / integral_constant / orderable.cpp
1 // Copyright Louis Dionne 2013-2017
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)
4
5 #include <boost/hana/ext/std/integral_constant.hpp>
6
7 #include <boost/hana/tuple.hpp>
8
9 #include <laws/orderable.hpp>
10
11 #include <type_traits>
12 namespace hana = boost::hana;
13
14
15 int main() {
16 auto ints = hana::make_tuple(
17 std::integral_constant<int, -10>{},
18 std::integral_constant<int, -2>{},
19 std::integral_constant<int, 0>{},
20 std::integral_constant<int, 1>{},
21 std::integral_constant<int, 3>{}
22 );
23
24 hana::test::TestOrderable<hana::ext::std::integral_constant_tag<int>>{ints};
25 }