25 lines
691 B
C++
25 lines
691 B
C++
// 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)
|
|
|
|
#include <boost/hana/ext/boost/mpl/integral_c.hpp>
|
|
|
|
#include <boost/hana/tuple.hpp>
|
|
|
|
#include <laws/orderable.hpp>
|
|
|
|
#include <boost/mpl/int.hpp>
|
|
#include <boost/mpl/integral_c.hpp>
|
|
namespace hana = boost::hana;
|
|
namespace mpl = boost::mpl;
|
|
|
|
|
|
int main() {
|
|
auto ints = hana::make_tuple(
|
|
mpl::int_<-10>{}, mpl::int_<-2>{}, mpl::integral_c<int, 0>{},
|
|
mpl::integral_c<int, 1>{}, mpl::integral_c<int, 3>{}
|
|
);
|
|
|
|
hana::test::TestOrderable<hana::ext::boost::mpl::integral_c_tag<int>>{ints};
|
|
}
|