www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - AA implementation question

reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
I'm playing around with writing an AA implementation that doesn't
require typeinfos to work, using aaA.d as reference. One thing I don't
quite understand: what's binit used for, and why is it necessary? It
seems redundant to me, since D always initializes pointer arrays to
nulls (right?).


T

-- 
There are three kinds of people in the world: those who can count, and those
who can't.
Mar 07 2012
parent "Martin Nowak" <dawg dawgfoto.de> writes:
On Thu, 08 Mar 2012 06:12:20 +0100, H. S. Teoh <hsteoh quickfur.ath.cx>  
wrote:

 I'm playing around with writing an AA implementation that doesn't
 require typeinfos to work, using aaA.d as reference. One thing I don't
 quite understand: what's binit used for, and why is it necessary? It
 seems redundant to me, since D always initializes pointer arrays to
 nulls (right?).

Mar 07 2012