]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/basic_tuple/construct.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / hana / test / basic_tuple / construct.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/basic_tuple.hpp>
6 namespace hana = boost::hana;
7
8
9 template <int i>
10 struct x { };
11
12
13 int main() {
14 constexpr hana::basic_tuple<> empty{}; (void)empty;
15
16 constexpr hana::basic_tuple<int, float> xs{1, 2.3f}; (void)xs;
17 constexpr auto ys = hana::basic_tuple<int, float>{1, 2.3f};
18 constexpr auto copy = ys; (void)copy;
19 }