dotfiles/.emacs.d/snippets/c++-mode/nth

7 lines
137 B
Plaintext

# -*- mode: snippet -*-
# name: nth_element
# key: nth
# --
std::nth_element(std::begin(${1:container}), std::end($1), std::end($1));
$0