]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/ext/boost/mpl/list/searchable.cpp
50b3a15e1c64059a05e608a8ec5e1d9eb1c16cd8
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/list.hpp>
7 #include <boost/hana/tuple.hpp>
9 #include <laws/searchable.hpp>
11 #include <boost/mpl/list.hpp>
12 namespace hana
= boost::hana
;
13 namespace mpl
= boost::mpl
;
16 struct t1
; struct t2
; struct t3
; struct t4
;
19 auto lists
= hana::make_tuple(
23 , mpl::list
<t1
, t2
, t3
>{}
24 , mpl::list
<t1
, t2
, t3
, t4
>{}
27 auto keys
= hana::tuple_t
<t1
, t2
, void>;
29 hana::test::TestSearchable
<hana::ext::boost::mpl::list_tag
>{lists
, keys
};