gprentice Messages: 260 Registered: November 2005 Location: New Zealand
Experienced Member
<speculating>
Not exactly sure what Array class does, as I haven't learnt NTL or concepts like "pick" yet (shame on me), but according to Array documentation, Array owns its contained objects, so maybe that means the class needs a virtual destructor anyway, otherwise the derived destructor is never called ??
Even if typeinfo failed to detect a derived type for some cases, it might help other cases, and a mechanism for disabling the runtime assert is probably easy to provide.
</speculating>