News for hackers. Stuff that matters.
Re:Lambda expression comparison between C++11, C++14 and C++17 by groovy2shoes on Saturday May 14, 2016 @07:26PM (#11698521)
For those of us still stuck on C++98 at work, would you mind explaining what's going on here? In particular, I can't figure out why the ellipsis is so separated from `args` here:

        (std::cout << ... << args) << std::endl;
That looks like some black magic to me. The rest makes sense, I think.
Re:Lambda expression comparison between C++11, C++14 and C++17 by hendzen on Saturday May 14, 2016 @07:28PM (#11698529)
Re:Lambda expression comparison between C++11, C++14 and C++17 by groovy2shoes on Saturday May 14, 2016 @07:47PM (#11698589)
Neat! Thank you :)
Re:Lambda expression comparison between C++11, C++14 and C++17 by makecheck on Sunday May 15, 2016 @11:08AM (#11701178)
Heh, great. I used to put an ellipsis into a programming example to mean “fill in whatever you actually do here”, and now C++ went and made it mean something. :)