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