Quantcast
Channel: Programming Archives - SysTutorials
Viewing all articles
Browse latest Browse all 130

How to not use concrete types in lambda function parameters in C++11?

$
0
0

C++11 requires that lambda function parameters be declared with concrete types. This is sometimes annoying. auto is really nice, especially when the type is complex like std::vector<std::string>::iterator is quite long to type. I know C++14 allows auto in lambda functions. But how to not use concrete types in lambda function parameters in C++11? In C++11, […]

The post How to not use concrete types in lambda function parameters in C++11? appeared first on SysTutorials.


Viewing all articles
Browse latest Browse all 130

Trending Articles