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_vector.cpp
2014-07-09 15:36:36 -04:00

21 lines
398 B
C++

#include <boost/hana/ext/boost/mpl/vector.hpp>
#include <boost/hana/type.hpp>
<% vector = Benchcc::MPL::Vector.new((0...x).map { |i| "x<#{i}>" }) %>
<%= vector.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>,
<%= vector %>{}
);
}