aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find')
-rw-r--r--Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find7
1 files changed, 2 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find
index f45093b..c4f16e1 100644
--- a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find
+++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find
@@ -1,8 +1,5 @@
# -*- mode: snippet -*-
# name: find
-# key: fnd
+# key: find
# --
-auto pos = std::find(std::begin(${1:container}), std::end($1), $2);
-if (pos != std::end($1)) {
- $3
-} \ No newline at end of file
+std::find(std::begin(${1:v}), std::end$(1), ${2:a}); \ No newline at end of file