what to do with postblit on the heap?
Jonathan M Davis
jmdavisProg at gmx.com
Mon Jun 20 12:13:49 PDT 2011
On 2011-06-20 11:56, Jose Armando Garcia wrote:
> On Mon, Jun 20, 2011 at 12:03 PM, bearophile <bearophileHUGS at lycos.com>
wrote:
> > Steven Schveighoffer:
> > A solution is to add this information at runtime, a type tag to structs
> > that have a postblit and/or destructor. But then structs aren't PODs any
> > more. There are other places to store this information, like in some
> > kind of associative array.
>
> What are PODs?
Plain Old Datatype. It's a user-defined data type with member variables but no
functions. It just holds data.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list