由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - C++ Q50: exception derivation (C5)
相关主题
C++ Q36: derivation specification (B8_9)C++ Q22: ostream
请问一道c++题目C++ Q40: virtual destructor (C2)
virtual table存在memory的哪块啊?C++ Q60 calling virtual function in constructor (JPMorgan)
包子呼唤大牛--问关于C++Destructor的问题 (转载)贡献一道 C++ 题目
今天onesite被问的两个题目【JOBS】招多个Quant/Quant developers
One C++ questionNvidia 3rd phone interview and Amazon offer
one C++ question?2 openings of Financial Software Developer in NYC
请教template class怎么处理Inheritance问题(面试题)C++ online Test 一题
相关话题的讨论汇总
话题: exception话题: must话题: derived话题: function
进入JobHunting版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
In a class inherits from another and overides a virtual function, how must
the exception-specification for the derived (overridden) function be related
to the base function?
a) Derived functions cannot have exception specification.
b) It must be at least as restrictive.
c) It must be the same.
d) Virtual functions cannot have exception-specifications.
e) It must be less restrictive.
P*******b
发帖数: 1001
2
b

related

【在 c**********e 的大作中提到】
: In a class inherits from another and overides a virtual function, how must
: the exception-specification for the derived (overridden) function be related
: to the base function?
: a) Derived functions cannot have exception specification.
: b) It must be at least as restrictive.
: c) It must be the same.
: d) Virtual functions cannot have exception-specifications.
: e) It must be less restrictive.

1 (共1页)
进入JobHunting版参与讨论
相关主题
C++ online Test 一题今天onesite被问的两个题目
C++ online Test 一题One C++ question
C++ 一题one C++ question?
C++ virtrual destructor请教template class怎么处理Inheritance问题(面试题)
C++ Q36: derivation specification (B8_9)C++ Q22: ostream
请问一道c++题目C++ Q40: virtual destructor (C2)
virtual table存在memory的哪块啊?C++ Q60 calling virtual function in constructor (JPMorgan)
包子呼唤大牛--问关于C++Destructor的问题 (转载)贡献一道 C++ 题目
相关话题的讨论汇总
话题: exception话题: must话题: derived话题: function