Boost logo

Boost :

From: Bruno Martínez (br1_at_[hidden])
Date: 2006-08-27 12:12:47

I'm getting uninitialized memory errors in a program that uses
Boost.Graph. This happens because add_edge(u, v, g) calls add_edge(u, v,
p, g) copying a default constructed edge property. The no argument
constructor for property in directory pending is:

property() { }

so if T is a primitive type it is left uninitialized. I think this should
be changed to

property() : m_value() { }


Boost list run by bdawes at, gregod at, cpdaniel at, john at