Rule 15-5-3
The terminate() function shall not be called implicitly.
//不合规
int main(int argc, char** argv){
return 0;
}
//合规
int main(int argc, char** argv){
try{} chtch(...){}
return 0;
}
Rule 15-5-3
The terminate() function shall not be called implicitly.
//不合规
int main(int argc, char** argv){
return 0;
}
//合规
int main(int argc, char** argv){
try{} chtch(...){}
return 0;
}