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

9 lines
158 B
Plaintext

# -*- mode: snippet -*-
# name: is_permutation
# key: ipr
# --
if (std::is_permutation(std::begin(${1:container}), std::end($1), std::begin($2))) {
$3
}
$0