| 1 | // Copyright Jason Rice 2016 |
|---|---|
| 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 | // modified from https://github.com/boostorg/hana/issues/304 |
| 5 | |
| 6 | #include <boost/hana/ext/std/array.hpp> |
| 7 | #include <boost/hana/tuple.hpp> |
| 8 | |
| 9 | namespace hana = boost::hana; |
| 10 | |
| 11 | struct Foo |
| 12 | { |
| 13 | Foo() = default; |
| 14 | Foo(Foo const&) = delete; |
| 15 | Foo(Foo &&) = default; |
| 16 | }; |
| 17 | |
| 18 | using bar = decltype(hana::to_tuple(std::array<Foo, 2>())); |
| 19 | |
| 20 | int main() |
| 21 | { } |
| 22 |
