aboutsummaryrefslogtreecommitdiff
path: root/template/cpp/snip-stl-for_each.cpp
blob: 760b37f465b2b02a925b5d2966dc04c7678f4cbd (plain)
1
2
3
std::for_each({{_input_:variable}}.begin(), {{_input_:variable}}.end(), [&](decltype({{_input_:variable}})::value_type x) {
	{{_cursor_}}
});