mirror of
https://github.com/boostorg/hana.git
synced 2026-02-24 04:02:12 +00:00
19 lines
382 B
C++
19 lines
382 B
C++
<% render(instance) %>
|
|
<%= includes((0..x).size) %>
|
|
|
|
#include <boost/hana/integral.hpp>
|
|
#include <boost/hana/iterable/iterable.hpp>
|
|
|
|
|
|
template <int> struct x { };
|
|
|
|
int main() {
|
|
auto go = boost::hana::drop(
|
|
boost::hana::int_< <%= x / 2 %> >,
|
|
<%= list(
|
|
(0..x).map { |i| "x<#{i}>" },
|
|
(0..x).map { |i| "x<#{i}>{}" }
|
|
) %>
|
|
);
|
|
}
|