diff options
Diffstat (limited to 'c++-mode/nth')
-rw-r--r-- | c++-mode/nth | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c++-mode/nth b/c++-mode/nth new file mode 100644 index 0000000..e0c0fba --- /dev/null +++ b/c++-mode/nth @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: nth_element +# key: nth +# -- +std::nth_element(std::begin(${1:container}), std::end($1), std::end($1)); +$0 |