Simplify type check in std::function constructor
Simplify type check in std::function constructor

karies/root,olifre/root,karies/root,karies/root,zzxuanyuan/root,olifre/root,root-mirror/root,zzxuanyuan/root,zzxuanyuan/root,olifre/root,olifre/root,zzxuanyuan/root,root-mirror/root,zzxuanyuan/root,root-mirror/root,root-mirror/root,zzxuanyuan/root,karies/root,olifre/root,olifre/root,root-mirror/root,karies/root,karies/root,karies/root,olifre/root,zzxuanyuan/root,zzxuanyuan/root,karies/root,karies/root,karies/root,root-mirror/root,root-mirror/root,root-mirror/root,karies/root,zzxuanyuan/root,zzxuanyuan/root,zzxuanyuan/root,olifre/root,root-mirror/root,root-mirror/root,zzxuanyuan/root,olifre/root,olifre/root,olifre/root,root-mirror/root