Files
dotfiles/emacs/.emacs.d/snippets/c++-mode/fne
TuDatTr 215bf58939 Trying out GNU stow
Signed-off-by: TuDatTr <tran.tuan-dat@mailbox.org>
2018-01-08 01:53:16 +01:00

11 lines
199 B
Plaintext

# -*- mode: snippet -*-
# name: find_end
# key: fne
# --
auto pos = std::find_std::end(std::begin(${1:container}), std::end($1),
std::begin($2), std::end($3));
if (pos != std::end($1)) {
$4
}
$0