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. 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. BOOST_FOREACH(string i, data) {
ofile << i << std::endl;
}