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