6 Apr
2012
6 Apr
'12
5:43 p.m.
On Fri, 6 Apr 2012, Philipp Klaus Krause wrote:
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?
I mean just putting in a default constructor for your whole class, not necessarily each member of it. -- Jeremiah Willcock