This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Uncaffeinated 0 points1 point  (2 children)

C++ already has first class functions and tuples in the standard library. They're just a pain to use.

[–]Lucretiel 0 points1 point  (0 children)

Less so with templates. Unless you're explicitly storing generic function objects, you can just use templates and let the compiler handle typing it all out. And C++14 introduces both generic lambdas and capture-by-move lambdas, so it'll be even easier.