Why are void contents marked as having pointers?
daniel.keep.lists at gmail.com
Sun May 31 23:43:19 PDT 2009
Vladimir Panteleev wrote:
> On Mon, 01 Jun 2009 02:21:33 +0300, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
>> To argue that convincingly, you'd need to disable conversions from
>> arrays of class objects to void.
> You're right. Perhaps implicit cast of reference types to void should result in an error.
If only there were a way to indicate that voids could contain
pointers, then they would behave uniformly across types...
More information about the Digitalmars-d