2
0
mirror of https://github.com/boostorg/hana.git synced 2026-02-21 15:12:21 +00:00
Files
hana/benchmark/todo.fmap_mpl_list.cpp
2014-07-09 15:36:36 -04:00

21 lines
388 B
C++

#include <boost/hana/ext/boost/mpl/list.hpp>
#include <boost/hana/type.hpp>
<% list = Benchcc::MPL::List.new((0...x).map { |i| "x<#{i}>" }) %>
<%= list.includes %>
struct f {
template <typename>
struct apply { struct type; };
};
template <int> struct x;
int main() {
auto go = boost::hana::fmap(
boost::hana::metafunction_class<f>,
<%= list %>{}
);
}