Files
dotfiles/emacs/.emacs.d/snippets/c++-mode/acl
TuDatTr 215bf58939 Trying out GNU stow
Signed-off-by: TuDatTr <tran.tuan-dat@mailbox.org>
2018-01-08 01:53:16 +01:00

9 lines
163 B
Plaintext

# -*- mode: snippet -*-
# name: accumulate
# key: acl
# --
auto sum = std::accumulate(std::begin(${1:container}), std::end($1), 0, [](int total, $2) {
$3
});
$0