阅读背景:

为什么将未使用的返回值转换为void?

来源:互联网 
int fn();

void whatever()
{
    (void) fn();
}
int fn();

void whatever()
{
    (void) fn();
}



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: