Why are void[] contents marked as having pointers?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun May 31 16:21:33 PDT 2009


Vladimir Panteleev wrote:
> That's a subjective opinion :) I could just as well continue arguing
> that void[] is the perfect type for any kind of "opaque" binary data
> due to its properties.

To argue that convincingly, you'd need to disable conversions from 
arrays of class objects to void[].

Andrei



More information about the Digitalmars-d mailing list