What happens when I throw an exception?

后端 未结 0 1481
一向
一向 2021-02-15 03:23

I have some technical questions. In this function:

string report() const {
    if(list.begin() == list.end()){
        throw \"not good\";
    }
    //do somethi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题