std::accumulate() 算法遍历项目,将它们累积到一个总和中(或者如果你为每个累积步骤提供一个自定义的可调用对象,则累积到某种其他类型的组合中)。

Last modified: Thursday, 30 January 2025, 3:42 PM