std::function can wrap lambdas with capture list but how std::function implemented? We don\'t know what is the type of it, it can be assigned to
std::function