Files
dotfiles/emacs/.emacs.d/snippets/c++-mode/isu
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
176 B
Plaintext

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