Mat*_*zak 1 c++ language-lawyer
如果在赋值的rhs上抛出异常,则在下面的表达式中:bad_alloc将linesArg已经减少了吗?:
try{
buffer[--linesArg] = new char[rows];
}catch(std::bad_alloc& ba){
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
65 次 |
| 最近记录: |