3dpoint = std::reduce(vector.begin(), vector.end());
You need a reduction base as a third argument. If you mean not to parallelize the operation and implicitly mean operator+ as the reduction, I advise using accumulate instead
Ludovic 'Archivist'
Anonymous
Ilya
Dima
klimi
Ander
Pavel
MᏫᎻᎯᎷᎷᎬᎠ
︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎
ウサギ