
please wait
|
|
[](int i)
is the capture list and argument list for that lambda function. []
is an empty capture list, so nothing is captured. (int i)
is saying this lambda function takes an int
(by value) as an argument.
[](int i)
, it is the whole [](int i){return i%2;}
std::all_of
takes three arguments: (InputIterator, InputIterator, UnaryPredicate)[](int i){return i%2;}
|
|
|
|