mirror of
https://github.com/boostorg/hana.git
synced 2026-02-23 15:52:11 +00:00
16 lines
373 B
C++
16 lines
373 B
C++
<% render(instance) %>
|
|
<%= includes(x) %>
|
|
|
|
#include <boost/hana/foldable/foldable.hpp>
|
|
#include <boost/hana/integral.hpp>
|
|
|
|
|
|
int main() {
|
|
auto go = boost::hana::elem(boost::hana::int_< <%= x / 2 %> >,
|
|
<%= list(
|
|
(0..x).map { |i| "decltype(boost::hana::int_<#{i}>)" },
|
|
(0..x).map { |i| "boost::hana::int_<#{i}>" }
|
|
) %>
|
|
);
|
|
}
|