
27 Aug
2006
27 Aug
'06
4:12 p.m.
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() { } Regards, Bruno