On 9/29/05, <b class="gmail_sendername">David Abrahams</b> <<a href="mailto:dave@boost-consulting.com">dave@boost-consulting.com</a>> 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 "somewhat summarized" version. Notice anything? 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> Aha, indeed. And when I initialize the second 'empty' vector with zeros, it works indeed. <br> Now I get it, thanks. <br> </div></div>P.S. I ordered your book and it arrived in the mail yesterday, so maybe I won't be posing<br> so many stupid questions here any more in the near future :-)<br clear="all"><br>-- <br>Alex Borghgraef