2
0
mirror of https://github.com/boostorg/hana.git synced 2026-01-23 05:32:13 +00:00
Files
hana/example/basic_tuple/make.cpp
2015-08-08 13:16:02 +02:00

19 lines
488 B
C++

/*
@copyright Louis Dionne 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/basic_tuple.hpp>
#include <boost/hana/core/make.hpp>
#include <boost/hana/equal.hpp>
namespace hana = boost::hana;
int main() {
constexpr hana::basic_tuple<int, char, double> xs{1, '2', 3.3};
constexpr auto ys = hana::make<hana::BasicTuple>(1, '2', 3.3);
(void)xs; (void)ys;
}