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

7 lines
134 B
Plaintext

# -*- mode: snippet -*-
# name: max_element
# key: mxe
# --
auto pos = std::max_element(std::begin(${1:container}), std::end($1));
$0