init
This commit is contained in:
11
snippets/c++-mode/fin
Normal file
11
snippets/c++-mode/fin
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: find_if_not
|
||||
# key: fin
|
||||
# --
|
||||
auto pos = std::find_if_not(std::begin(${1:container}), std::end($1),[]($2) {
|
||||
$3
|
||||
});
|
||||
if (pos != std::end($1)) {
|
||||
$4
|
||||
}
|
||||
$0
|
||||
Reference in New Issue
Block a user