1 // Copyright Louis Dionne 2013-2017
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)
5 #include <meta/meta.hpp>
9 template <typename, typename>
13 template <int> struct x;
17 using list = meta::list<
18 <%= (1..input_size).map { |i| "x<#{i}>" }.join(', ') %>
21 using result = meta::fold<list, state, f>;