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