aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count')
-rw-r--r--Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count
new file mode 100644
index 0000000..95936e2
--- /dev/null
+++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: count
+# key: cnt
+# --
+auto n = std::count(std::begin(${1:container}), std::end($1), $2); \ No newline at end of file