|
-
August 25th, 2009, 02:33 AM
#12
Re: Design problem with a virtual template class
Thank you very much for your replies guys.
I found what's the real problem: the destructor in the class Matrix is pure virtual, making it just virtual and giving him an (empty) definition the code works.
I found this link: http://www.devx.com/tips/Tip/12729 which basically say that a destructor can be pure virtual but still must be defined.
It was my mistake, I was blind as always.
I will keep coding this way.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|