标签:http color io strong ar for div cti line
在下面几种情况下不能视为重载:
1、返回值不同的函数不能视为重载
2、返回值是否为静态不能视为重载
3、数组和指针
int fun(int *ptr);int fun(int ptr[]); // redeclaration of fun(int *ptr)void h(int ());void h(int (*)()); // redeclaration of h(int())http://www.geeksforgeeks.org/function-overloading-in-c/
标签:http color io strong ar for div cti line
原文地址:http://www.cnblogs.com/cane/p/3942346.html