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