Virtual Data?
From: Daniel Graifer (graifer_at_earthlink.net)
Date: 07/30/04
- Next message: Julie: "Re: Yet another Attempt at Disproving the Halting Problem"
- Previous message: Mikito Harakiri: "Re: Timeless Classics of Software Engineering"
- Next in thread: Howard: "Re: Virtual Data?"
- Reply: Howard: "Re: Virtual Data?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 16:29:57 GMT
Why doesn't c++ support virtual data? It supports class data of type
pointer to function (that's what virtual functions really are). In
terms of implementation, why can't I have other types of data in my vtable?
RTTI could be implemented this way instead of as a special case for the
compiler. It would also be useful for class specific memory management
implementations.
-- Daniel A. Graifer
- Next message: Julie: "Re: Yet another Attempt at Disproving the Halting Problem"
- Previous message: Mikito Harakiri: "Re: Timeless Classics of Software Engineering"
- Next in thread: Howard: "Re: Virtual Data?"
- Reply: Howard: "Re: Virtual Data?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]