(Following to this question:)
void foo() {
constexpr const auto my_lambda = [](int z) { return z+1; };
}
Apparently, my_lambda
is "not static". In what sense is it not-static, other than not officially defined to be? Why should it not be implicitly static, seeing how it seems to meet the definition?