$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Borghgraef (alexander.borghgraef.rma_at_[hidden])
Date: 2005-09-29 07:06:01
On 9/29/05, David Abrahams <dave_at_[hidden]> wrote:
>
>
> Try compiling and running the example, then try compiling and running
> your "somewhat summarized" version. Notice anything? When your
> version crashes, it will reveal to you the important things you left
> out: our example initializes all those pointers to refer to valid
> locations first.
Aha, indeed. And when I initialize the second 'empty' vector with zeros, it
works indeed.
Now I get it, thanks.
P.S. I ordered your book and it arrived in the mail yesterday, so maybe I
won't be posing
so many stupid questions here any more in the near future :-)
-- Alex Borghgraef