C++ boost prim's algorithm with custom weights?

I feel like I explain the problem well with my question on stackoverflow but it's not getting much response.

http://stackoverflow.com/questions/10098437/c-boost-prims-algorithm-with-custom-weights

If anyone can help I would greatly appreciate it.
I see you made a typedef for something to E. The error relates to a type D. Can we see the definition of type D? The error is telling you that you cannot create a D from an int.
Topic archived. No new replies allowed.