]>
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 <boost/fusion/include/make_vector.hpp> | |
6 | #include <boost/fusion/include/push_back.hpp> | |
7 | ||
8 | ||
9 | template <int i> | |
10 | struct x { }; | |
11 | ||
12 | int main() { | |
13 | auto vector = <%= fusion_vector((1..input_size).map { |n| "x<#{n}>{}" }) %>; | |
14 | (void)vector; | |
15 | } |