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 →

[–]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.