]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/hana/test/basic_tuple/construct.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / test / basic_tuple / construct.cpp
CommitLineData
b32b8144 1// Copyright Louis Dionne 2013-2017
7c673cae
FG
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>
6namespace hana = boost::hana;
7
8
9template <int i>
10struct x { };
11
12
13int main() {
14 constexpr hana::basic_tuple<> empty{}; (void)empty;
15
16 constexpr hana::basic_tuple<int, float> xs{1, 2.3f};
17 constexpr auto ys = hana::basic_tuple<int, float>{1, 2.3f};
18 constexpr auto copy = ys; (void)copy;
19}