<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Another possibility, if you want to keep the per-member initialisation: what about using 0 as an initialiser rather than NULL?  If I&#39;m remembering the C rules properly (though things are slightly different in C++), 0 is a valid initialiser for every scalar type (integer, floating-point, pointer, enum) -- unlike NULL, which is specifically typed to be a pointer.<br>


<br></blockquote><div>Assigning it to 0, will again cause trouble for C++ folks. But definitely leaving it uninitialized will provide a lot of flexibility and any C/C++ programmer will obviously find out and fix bugs arising out of it. For example, we can ask users to initialize in the init section.  <br>
<br>Thanks,<br>Gokul.<br><br></div></div><br>