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

10 lines
158 B
Plaintext

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