A function or a pointer to function can initialize std::function.