I can clearly do something like this:
for(int i = 0; i < 10000; i++) testIteration();
But is there any std functions which does similar thing in one line? Something like that:
std::repeat(10000, testIteration);
Aucun commentaire:
Enregistrer un commentaire