mirror of
https://github.com/boostorg/hana.git
synced 2026-02-22 15:32:11 +00:00
17 lines
302 B
C++
17 lines
302 B
C++
<% render(instance) %>
|
|
<%= includes((0..x).size) %>
|
|
|
|
#include <boost/hana/list/list.hpp>
|
|
|
|
|
|
template <int i> struct x { };
|
|
|
|
int main() {
|
|
auto go = boost::hana::permutations(
|
|
<%= list(
|
|
(0..x).map { |i| "x<#{i}>" },
|
|
(0..x).map { |i| "x<#{i}>{}" }
|
|
) %>
|
|
);
|
|
}
|