Does co'y c'tor call d'tor when faild?

前端 未结 0 1774
独厮守ぢ
独厮守ぢ 2021-01-03 04:30

Let\'s suppose my copy c\'tor look something like this:

int *classes = nullptr;

b_course(const b_course &bCourse) : classes(new int[max_num_of_classes])          


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