7 ms·
for(const auto &i : data) { ofile << i << std::endl; } The for loop definition there with the auto keyword. The rest has been standard for donkeys years.
by Derpdiherp 13y ago
for(const auto &i : data) {
ofile << i << std::endl;
}
The for loop definition there with the auto keyword. The rest has been standard for donkeys years.
- yummyfajitas 13y agoAh, nice to see that becoming mainstream. I glossed over it since it's so similar to: BOOST_FOREACH(string i, data) { ofile << i << std::endl; }