Home GnuPG

Make lambdas used in std::accumulate compatible with C++20

Description

Make lambdas used in std::accumulate compatible with C++20

The first argument cannot be T& because the reference is removed when
the first argument that is passed to the binary operation is moved.

Details

Provenance
ikloeckerAuthored on May 30 2022, 11:29 PM
Parents
rKLEOPATRAc538a8de3240: Remove duplicate from header/cpp
Branches
Unknown
Tags
Unknown