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

7 lines
117 B
Plaintext

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