| 1 | // Copyright Louis Dionne 2013-2022 |
| 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/config.hpp> |
| 6 | |
| 7 | #ifndef BOOST_HANA_CONFIG_CLANG_CL // EBO is not well supported on Windows |
| 8 | |
| 9 | #include <boost/hana/integral_constant.hpp> |
| 10 | #include <boost/hana/pair.hpp> |
| 11 | #include <boost/hana/tuple.hpp> |
| 12 | |
| 13 | #include <vector> |
| 14 | namespace hana = boost::hana; |
| 15 | |
| 16 | |
| 17 | using Vector = std::vector<int>; |
| 18 | |
| 19 | static_assert( |
| 20 | sizeof(hana::tuple< |
| 21 | hana::pair<hana::int_<0>, Vector>, |
| 22 | hana::pair<hana::int_<1>, Vector>, |
| 23 | hana::pair<hana::int_<2>, Vector>, |
| 24 | hana::pair<hana::int_<3>, Vector> |
| 25 | >) |
| 26 | == |
| 27 | sizeof(hana::tuple<Vector, Vector, Vector, Vector>) |
| 28 | , "" ); |
| 29 | |
| 30 | #endif // BOOST_HANA_CONFIG_CLANG_CL |
| 31 | |
| 32 | int main() { } |
| 33 | |