Q: Can a constructor throw an exception? How to handle the error when the co nstructor fails? A: The constructor never throws an eror. 谢谢
S*I
2 楼
07-08年的照片。HTC Mogul 的摄影镜头很不错。后来换了EVO,镜头开始不错,两三个 月以后好像就磨损了照不清楚了 1 Alaska harding icefield 2. 上世纪初的小酒吧,Wayside INN, MA 3. 摩纳哥 4. PARIS -Pont Alexandria
z*e
3 楼
Can a constructor throw an exception? Can。 How to handle the error when the constructor fails? throw an exception,and cleanup the resource.
co
【在 G**I 的大作中提到】 : Q: Can a constructor throw an exception? How to handle the error when the co : nstructor fails? : A: The constructor never throws an eror. : 谢谢
i*n
4 楼
beautiful!
G*I
5 楼
谢谢。这个谁编辑的C++ interview问题上面的确有错误啊。
【在 z****e 的大作中提到】 : Can a constructor throw an exception? : Can。 : How to handle the error when the constructor fails? : throw an exception,and cleanup the resource. : : co