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

9 lines
158 B
Plaintext
Raw Normal View History

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