On 9/29/05, <b class="gmail_sendername">David Abrahams</b> &lt;<a href="mailto:dave@boost-consulting.com">dave@boost-consulting.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Try compiling and running the example, then try compiling and running<br>your &quot;somewhat summarized&quot; version.&nbsp;&nbsp;Notice anything?&nbsp;&nbsp;When your<br>version crashes, it will reveal to you the important things you left
<br>out: our example initializes all those pointers to refer to valid<br>locations first.</blockquote><div><br>
&nbsp;Aha, indeed. And when I initialize the second 'empty' vector with zeros, it works indeed. <br>
Now I get it, thanks. <br>
&nbsp;</div></div>P.S. I ordered your book and it arrived in the mail yesterday, so maybe I won't be posing<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; so many stupid questions here any more in the near future :-)<br clear="all"><br>-- <br>Alex Borghgraef