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

9 lines
146 B
Plaintext
Raw Normal View History

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