2
0
mirror of https://github.com/boostorg/hana.git synced 2026-02-24 16:12:10 +00:00
Files
hana/benchmark/list/iterable/for_each.cpp
2014-07-20 13:04:59 -04:00

18 lines
318 B
C++

<% render(instance) %>
<%= includes((0..x).size) %>
#include <boost/hana/iterable/iterable.hpp>
template <int> struct x { };
int main() {
boost::hana::for_each(
<%= list(
(0..x).map { |i| "x<#{i}>" },
(0..x).map { |i| "x<#{i}>{}" }
) %>,
[](auto x) { }
);
}