# -*- mode: snippet -*-
# name: for_each
# key: fre
# --
std::for_each(std::begin(${1:container}), std::end($1), []($2) {
$3
});
$0