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