dotfiles/.emacs.d/snippets/c++-mode/fre

9 lines
134 B
Plaintext

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