2
0
mirror of https://github.com/boostorg/hana.git synced 2026-02-23 15:52:11 +00:00
Files
hana/benchmark/list/foldable/product.cpp
2014-07-16 16:26:23 -04:00

15 lines
298 B
C++

<% render(instance) %>
<%= includes(x) %>
#include <boost/hana/foldable/foldable.hpp>
#include <boost/hana/integral.hpp>
<% xs = (1..x+1).map { |i| "boost::hana::int_<#{i}>" } %>
int main() {
auto go = boost::hana::product(
<%= list(xs.map { |x| "decltype(#{x})" }, xs) %>
);
}