]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/issues/github_202.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / issues / github_202.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)
4
5 #include <boost/hana/integral_constant.hpp>
6 #include <boost/hana/pair.hpp>
7 #include <boost/hana/tuple.hpp>
8
9 #include <vector>
10 namespace hana = boost::hana;
11
12
13 using Vector = std::vector<int>;
14
15 static_assert(
16 sizeof(hana::tuple<
17 hana::pair<hana::int_<0>, Vector>,
18 hana::pair<hana::int_<1>, Vector>,
19 hana::pair<hana::int_<2>, Vector>,
20 hana::pair<hana::int_<3>, Vector>
21 >)
22 ==
23 sizeof(hana::tuple<Vector, Vector, Vector, Vector>)
24 , "");
25
26 int main() { }