Why does GCC say “named return values no longer supported”?

前端 未结 3 1280
渐次进展
渐次进展 2021-02-01 14:15

I accidentally put the opening brace of my function definition after the return statement

int id(int k) return k; { }

But GCC answered with a w

3条回答
提交回复
热议问题