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

11 lines
143 B
Plaintext

# -*- mode: snippet -*-
# name: any_of
# key: ano
# --
if (std::any_of(std::begin(${1:container}), std::end($1), []($2) {
$3
})) {
$4
}
$0