2
0
mirror of https://github.com/boostorg/hana.git synced 2026-02-15 13:12:12 +00:00
Files
hana/test/tuple/tuple.cpp
2014-10-04 20:13:14 -04:00

28 lines
565 B
C++

/*
@copyright Louis Dionne 2014
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/tuple/tuple.hpp>
#include <utility>
using namespace boost::hana;
struct movable {
movable() = default;
movable(movable const&) = delete;
movable(movable&&) = default;
};
int main() {
#if 0 // disabled until c++17; see tuple/tuple.hpp for details
// movable only
{
auto x = tuple(movable{});
auto z = std::move(x);
}
#endif
}