Any drawbacks with all member functions declared virtual?

Posted by skydoor on Stack Overflow See other posts from Stack Overflow or by skydoor
Published on 2010-03-25T19:14:15Z Indexed on 2010/03/25 19:43 UTC
Read the original article Hit count: 354

Filed under:
|

If I am developing a class and don't know how it will be used, are there any drawbacks to declaring all the member functions virtual? Is this a good or bad design?

© Stack Overflow or respective owner

Related posts about c++

Related posts about virtual-functions