
Hi Andrew, Andrew Sutton wrote:
Hmmmm, I hope this is not too much to ask, but can you or someone else check if the sample code I posted before compiles (with the offending line uncommented)? I should compile as-is... Just to check if I'm going nuts... :-) Here it is again below [with the line commented out, so this should compile]. After looking, that constructor may not exist in Boost 1.39. It exists in trunk, but it seems to be causing problems (can't find add_edge).
Your best bet is to construct the matrix over n vertices and then manually populate the graph with edges.
Ah, thank you for looking into it for me! I'll do what you suggest then; thanks! By the way, is this something that should be added into the Boost bug database (or feature request)? Ray