This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

10
snippets/c++-mode/spt Normal file
View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: stable_partition
# key: spt
# --
auto pos = std::stable_partition(std::begin(${1:container}), std::end($1), []($2) {
$3});
if (pos != std::end($1)) {
$4
}
$0