]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/ext/boost/mpl/vector/comparable.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)
5 #include <boost/hana/ext/boost/mpl/vector.hpp>
7 #include <boost/hana/tuple.hpp>
9 #include <laws/comparable.hpp>
11 #include <boost/mpl/vector.hpp>
12 namespace hana
= boost::hana
;
13 namespace mpl
= boost::mpl
;
16 struct t1
; struct t2
; struct t3
; struct t4
;
19 auto vectors
= hana::make_tuple(
22 , mpl::vector
<t1
, t2
>{}
23 , mpl::vector
<t1
, t2
, t3
>{}
24 , mpl::vector
<t1
, t2
, t3
, t4
>{}
27 hana::test::TestComparable
<hana::ext::boost::mpl::vector_tag
>{vectors
};