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