blob: 7ce5dae70ccd4f88645ad97e0a012df1e35f4e2c (
plain)
1
2
3
4
5
6
7
8
9
|
# -*- mode: snippet -*-
# name: next_permutation
# key: nxp
# contributor: Tommy BENNETT and Ludwig PACIFICI <ludwig@lud.cc>
# --
if (std::next_permutation(std::begin(${1:container}), std::end($1))) {
$2
}
$0
|