Boost logo

Boost Users :

Subject: Re: [Boost-users] [graph] Problem with vertex initialization in boost::add_vertex()
From: Philipp Klaus Krause (pkk_at_[hidden])
Date: 2012-04-06 06:05:59


On 05.04.2012 16:06, Jeremiah Willcock wrote:
>> To me it seems as if the default constructor of alive is not called upon
>> add_vertex(), resulting in alive being uninitialized memory (same for
>> dying).
>
> Could you please add a hand-written default constructor that prints
> something out to be sure of that?

Is there an easy way to do this? I'm not a C++ expert. alive is an
std::set, so I would have to edit my STL headers?

Philipp


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net