SpiceQA
Questions
Tags
Users
Badges
When there is a virtual function in a class, is the implicitly generated destructor virtual too?
user_3496846
0
Created Mar 19, 2016
Edited Mar 19, 2016
Viewed 52
Follow
Suppose we have a class
class A { virtual void f(); };
Will the default destructor be virtual?
virtual-destructor
destructor
c++
3
0
Add comment
+
Share
1 Answers
Related