9 lines
146 B
Plaintext
9 lines
146 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: prev_permutation
|
||
|
# key: prp
|
||
|
# --
|
||
|
if (std::prev_permutation(std::begin(${1:container}), std::end($1))) {
|
||
|
$2
|
||
|
}
|
||
|
$0
|