示例:
const User* get_User(int64_t company_id, int64_t user_id) {
return new User{company_id, user_id, "foo"};
}
void call_User(int64_t company_id, int64_t user_id) {
const User* user = get_User(user_id, company_id); // potential issue here
//...
}
使用下面的复选框可检查名称少于三个符号的实参。
2018.2 的新功能