Hacker News new | past | comments | ask | show | jobs | submit login

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).




  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.


Ah, 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;
    }




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: