2 ms·
Just curious, what C++11 features are used here? It's been a while since I flexed my C++ muscles, but all of this looks like the standard C++. Admittedly, even
by yummyfajitas 13y ago
Just curious, what C++11 features are used here? It's been a while since I flexed my C++ muscles, but all of this looks like the standard C++.
Admittedly, even old style C++ with Boost does look a lot like a scripting language (except for the segfaults).
- Derpdiherp 13y agofor(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; }