How to accumulate a result using for_each in C++?

后端 未结 0 604
失恋的感觉
失恋的感觉 2021-01-05 21:04

I\'m trying to reproduce what accumulate does using for_each. However I don\'t understand what is the problem in the for_each version:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题