summaryrefslogtreecommitdiff
path: root/c++-mode/lxc
diff options
context:
space:
mode:
Diffstat (limited to 'c++-mode/lxc')
-rw-r--r--c++-mode/lxc9
1 files changed, 9 insertions, 0 deletions
diff --git a/c++-mode/lxc b/c++-mode/lxc
new file mode 100644
index 0000000..d60c1e5
--- /dev/null
+++ b/c++-mode/lxc
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+# name: lexigraphical_compare
+# key: lxc
+# --
+if (std::lexigraphical_compare(std::begin(${1:container}), std::end($1),
+ std::begin($2), std::end($3)) {
+ $4
+}
+$0