Thursday, 22 August 2013

Why C++14 Generic lambdas require auto in parameters specification?

Why C++14 Generic lambdas require auto in parameters specification?

I look at Generic lambdas and cant get it - why keep type declaration at
all? why not (x, y)? If compiler vendors will have to support (auto a,
auto b) Are there any problems supporting simple (a, b)?

No comments:

Post a Comment