How to use std::foreach with parameters/modification

前端 未结 6 2258
难免孤独
难免孤独 2020-12-23 11:34

I\'ve found myself writing

for(int i=0;iDoWhatever(param);

a lot, and I\'d like to compress this into

6条回答
提交回复
热议问题