]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/ext/std/array/foldable.cpp
3a7df7a196bce6ed579b5f8239907e4faad44ef0
1 // Copyright Louis Dionne 2013-2016
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/std/array.hpp>
7 #include <boost/hana/tuple.hpp>
9 #include <laws/foldable.hpp>
12 namespace hana
= boost::hana
;
16 constexpr auto array() { return std::array
<int, sizeof...(i
)>{{i
...}}; }
19 auto int_arrays
= hana::make_tuple(
25 , array
<0, 1, 2, 3, 4>()
28 hana::test::TestFoldable
<hana::ext::std::array_tag
>{int_arrays
};