C/C++ 中restrict修饰符的作用?下面代码用了restrict ...
C/C++ 中restrict修饰符的作用?下面代码用了restrict 比没用,会少几条执行指令?
int net_add(int *restrict a, int *restrict b)
{
*a = 10
*b = 12
return *a + *b
}
C/C++ 中restrict修饰符的作用?下面代码用了restrict 比没用,会少几条执行指令?
int net_add(int *restrict a, int *restrict b)
{
*a = 10
*b = 12
return *a + *b
}