adjust std:function support 10 parameter
Merge pull request #3998 from Dhilan007/0001

adjust std:function support 10 parameter