]>
Commit | Line | Data |
---|---|---|
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 <meta/meta.hpp> | |
6 | ||
7 | ||
8 | struct f { | |
9 | template <typename> | |
10 | struct apply; | |
11 | }; | |
12 | ||
13 | template <int> struct x; | |
14 | ||
15 | using list = meta::list< | |
16 | <%= (1..input_size).map { |i| "x<#{i}>" }.join(', ') %> | |
17 | >; | |
18 | ||
19 | using result = meta::transform<list, f>; | |
20 | ||
21 | int main() { | |
22 | ||
23 | } |