Why are void[] contents marked as having pointers?
    Jarrett Billingsley 
    jarrett.billingsley at gmail.com
       
    Tue Jun  2 17:24:16 PDT 2009
    
    
  
On Tue, Jun 2, 2009 at 7:11 PM, Christopher Wright <dhasenan at gmail.com> wrote:
> Vladimir Panteleev wrote:
>>
>> I wasn't suggesting any GC modifications, I was just suggesting that
>> void[]'s TypeInfo "has pointers" flag be set to false.
>
> The suggestion was that void[] be used as ubyte[] currently is, and then to
> use void*[] to indicate an array of unknown type that may have pointers.
How do you have a void*[] point to a block of memory that is not a
multiple of (void*).sizeof?
    
    
More information about the Digitalmars-d
mailing list