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

7 lines
135 B
Plaintext

# -*- mode: snippet -*-
# name: accumulate
# key: acm
# --
auto sum = std::accumulate(std::begin(${1:container}), std::end($1), 0);
$0