summaryrefslogtreecommitdiff
path: root/c++-mode/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'c++-mode/rpc')
-rw-r--r--c++-mode/rpc7
1 files changed, 7 insertions, 0 deletions
diff --git a/c++-mode/rpc b/c++-mode/rpc
new file mode 100644
index 0000000..01fb570
--- /dev/null
+++ b/c++-mode/rpc
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: replace_copy
+# key: rpc
+# contributor: Tommy BENNETT and Ludwig PACIFICI <ludwig@lud.cc>
+# --
+std::replace_copy(std::begin(${1:container}), std::end($1), std::begin($1), $2, $3);
+$0