mirror of
https://github.com/boostorg/hana.git
synced 2026-02-23 15:52:11 +00:00
15 lines
298 B
C++
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) %>
|
|
);
|
|
}
|