9 lines
146 B
Plaintext
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
|