Imported Upstream version 1.64.0
[platform/upstream/boost.git] / 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};
17     constexpr auto ys = hana::basic_tuple<int, float>{1, 2.3f};
18     constexpr auto copy = ys; (void)copy;
19 }