U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Array container does only serialize base classes
Re: Array container does only serialize base classes [message #2820 is a reply to message #2819] Wed, 26 April 2006 12:34 Go to previous messageGo to previous message
gprentice is currently offline  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>

Graeme
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NTL and C4251
Next Topic: is there a substring method?
Goto Forum:
  


Current Time: Sun Apr 26 13:52:26 GMT+2 2026

Total time taken to generate the page: 0.00918 seconds