init
This commit is contained in:
10
snippets/c++-mode/spt
Normal file
10
snippets/c++-mode/spt
Normal 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
|
||||
Reference in New Issue
Block a user