0
[](auto e) { return islower(e) ;}

I am a begineer in c++, can someone explain me what is the meaning of that statement in c++

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
  • It’s a lambda expression. It’s basically a function. – Finn Eggers Dec 26 '21 at 06:31
  • They are called lambda functions : (https://www.learncpp.com/cpp-tutorial/introduction-to-lambdas-anonymous-functions/) and they are quite useful. E.g. for use in standard library algorithms like std::find_if, and when passing functions to other threads. – Pepijn Kramer Dec 26 '21 at 06:37

0 Answers0