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

9 lines
146 B
Plaintext

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