]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/hana/benchmark/fold_left/compile.mpl11.list.erb.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / benchmark / fold_left / compile.mpl11.list.erb.cpp
CommitLineData
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/mpl11/list.hpp>
6
7
8struct f {
9 using type = f;
10 template <typename, typename>
11 struct apply { struct type; };
12};
13
14template <int> struct x { struct type; };
15
16struct state { struct type; };
17
18using list = boost::mpl11::list<
19 <%= (1..input_size).map { |i| "x<#{i}>" }.join(', ') %>
20>;
21
22using result = boost::mpl11::foldl<f, state, list>::type;
23
24int main() {
25
26}