最佳答案
goto在不调用析构函数之类的情况下跳过代码位是真的吗?
例如:。
void f() {
int x = 0;
goto lol;
}
int main() {
f();
lol:
return 0;
}
x不会泄露吗?