【发布时间】:2013-06-13 04:55:58
【问题描述】:
使静态函数内联有什么用?而不是在两个文件中使用相同的功能;他们还有其他使用静态函数吗?
inline static int func(int a)
{
static int b;
printf("Hello World !\n");
return b;
}
【问题讨论】:
标签: static-members inline-functions static-functions