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

11 lines
145 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: none_of
# key: nno
# --
if (std::none_of(std::begin(${1:container}), std::end($1), []($2) {
$3
})) {
$4
}
$0