On Sun, May 17, 2009 at 5:00 PM, Dan <[email protected]> wrote:
> That sounds great, and seems like yet another reason for me to switch to D 
> (other than the removal of header files which always seemed like a kludge).
>
> Just for the record though, I think one can initialize/blank/calloc C structs 
> too, but the problem is that some struct elements (of the same array) may 
> have padding while others don't, or perhaps they have different size paddings.

Sure, you can calloc or memset a C struct.  I've never heard of
padding varying for different instances of the same struct type, but
who knows.  So much of C is implementation-defined..

Reply via email to