Hacker News new | ask | show | jobs
by empiricus 3990 days ago
The article is not about the functional C++ you mention. It is about using pure functions (functions that do not modify global context).
1 comments

I get that. But the two ideas are very closely related. See also my final sentence.
I'm really hopeful that Concepts will dramatically reduce the amount of code needed for std::transform. Imagine no begin() or end(). It would suddenly become less verbose than the classic for loop.
That problem is due to the STL not being built around iterators/ranges. I don't see how concepts enter into it (though contra Andrei Alexandrescu, I'm still a big believer in concepts).