Sign in
llvm
/
llvm-project
/
ae42196bc493ffe877a7e3dff8be32035dea4d07
/
.
/
clang
/
test
/
CodeGenCoroutines
/
Inputs
/
numeric.h
blob: 81f319eb7d0528cce5b09ab0a1a509d4abb0d73e [
file
] [
log
] [
blame
]
#pragma
once
namespace
std
{
template
<
class
InputIterator
,
class
T
>
T accumulate
(
InputIterator
first
,
InputIterator
last
,
T init
)
{
for
(;
first
!=
last
;
++
first
)
init
=
init
+
*
first
;
return
init
;
}
}
// namespace std