To my surprise the following code prints 1.
std::cout << [](const char* arg){ return arg[0]=='s'; } << std::endl;
Can someone explain this, please?
To my surprise the following code prints 1.
std::cout << [](const char* arg){ return arg[0]=='s'; } << std::endl;
Can someone explain this, please?