]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/tuple/empty_member.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/tuple.hpp>
6 namespace hana
= boost::hana
;
14 using T
= hana::tuple
<int, A
>;
15 static_assert((sizeof(T
) == sizeof(int)), "");
18 using T
= hana::tuple
<A
, int>;
19 static_assert((sizeof(T
) == sizeof(int)), "");
22 using T
= hana::tuple
<A
, int, B
>;
23 static_assert((sizeof(T
) == sizeof(int)), "");
26 using T
= hana::tuple
<A
, B
, int>;
27 static_assert((sizeof(T
) == sizeof(int)), "");
30 using T
= hana::tuple
<int, A
, B
>;
31 static_assert((sizeof(T
) == sizeof(int)), "");