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.
|
|