Why is this lambda streamable?

Viewed 818

To my surprise the following code prints 1.

std::cout << [](const char* arg){ return arg[0]=='s'; } << std::endl;

Can someone explain this, please?

1 Answers
Related