]>
Commit | Line | Data |
---|---|---|
b32b8144 | 1 | // Copyright Louis Dionne 2013-2017 |
7c673cae FG |
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/boost/mpl/integral_c.hpp> | |
6 | ||
7 | #include <boost/hana/tuple.hpp> | |
8 | ||
9 | #include <laws/orderable.hpp> | |
10 | ||
11 | #include <boost/mpl/int.hpp> | |
12 | #include <boost/mpl/integral_c.hpp> | |
13 | namespace hana = boost::hana; | |
14 | namespace mpl = boost::mpl; | |
15 | ||
16 | ||
17 | int main() { | |
18 | auto ints = hana::make_tuple( | |
19 | mpl::int_<-10>{}, mpl::int_<-2>{}, mpl::integral_c<int, 0>{}, | |
20 | mpl::integral_c<int, 1>{}, mpl::integral_c<int, 3>{} | |
21 | ); | |
22 | ||
23 | hana::test::TestOrderable<hana::ext::boost::mpl::integral_c_tag<int>>{ints}; | |
24 | } |