由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - an old c++ question
相关主题
问一个constructor的问题问个C++重新编译的问题
问个bb的面试题一道面试的选择题
Two C++ questions from Bloomberg on-siteC++面试问题,高人请进啊~~~
C++相关的面经请教1个工作面试题
C++ online Test 一题为什么C++的constructor出错可以抛出异常,而destructor出错
新Qualcomm面经amazon 两轮电面
a c++ interview questionOne C++ question
包子呼唤大牛--问关于C++Destructor的问题 (转载)面经: bloomberg 电面
相关话题的讨论汇总
话题: destructor话题: what话题: called话题: need
进入JobHunting版参与讨论
1 (共1页)
y*******o
发帖数: 6632
1
in which case the destructor need not to be called?
I can only answer that if the class is not fully constructed, the destructor
need not be called, such as an exception thrown from an constructor. What
else?
n******2
发帖数: 47
2
That's what I can think of.
n******2
发帖数: 47
3
That's the only one I can think of.

destructor

【在 y*******o 的大作中提到】
: in which case the destructor need not to be called?
: I can only answer that if the class is not fully constructed, the destructor
: need not be called, such as an exception thrown from an constructor. What
: else?

1 (共1页)
进入JobHunting版参与讨论
相关主题
面经: bloomberg 电面C++ online Test 一题
C++ Q65: recompiling (IB)新Qualcomm面经
小公司web server面经a c++ interview question
这个题目的讨论的结论是什么包子呼唤大牛--问关于C++Destructor的问题 (转载)
问一个constructor的问题问个C++重新编译的问题
问个bb的面试题一道面试的选择题
Two C++ questions from Bloomberg on-siteC++面试问题,高人请进啊~~~
C++相关的面经请教1个工作面试题
相关话题的讨论汇总
话题: destructor话题: what话题: called话题: need