<s>[INST] c++11 lambda function and template parameter deduction
One source states that if you have a function that uses deduced template parameters and returns a lambda function you should include the return type in the function template.

Why is that important and what are the problems of not including return type in this context?[/INST]