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