]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/hana/benchmark/transform/compile.mpl.vector.erb.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / hana / benchmark / transform / compile.mpl.vector.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/mpl/push_back.hpp>
6#include <boost/mpl/quote.hpp>
7#include <boost/mpl/transform.hpp>
8#include <boost/mpl/vector.hpp>
9
10
11template <typename X>
12struct f { using type = X; };
13
14template <int i>
15struct t { };
16
17using vector = <%= mpl_vector((1..input_size).to_a.map { |n| "t<#{n}>" }) %>;
18
19using result = boost::mpl::transform<vector, boost::mpl::quote1<f>>::type;
20
21
22int main() { }