This was my error

typedef typename property_map < Graph, edge_Weight_t >::type EdgeWeightMap;
                EdgeWeightMap eWeight_map, eWeightCopy_map;

I needed separate types for each map as below.


 typedef typename property_map < Graph, edge_Weight_t >::type EdgeWeightMap;
                EdgeWeightMap eWeight_map;
               
typedef typename property_map < Graph, edge_WeightCopy_t >::type EdgeWeightCopyMap;
 EdgeWeightCopyMap eWeightCopy_map;

AStorm gave me the answer on the boost IRC chat. I don't know if I would have ever figured it out for myself, It seems a little tricky for noobies.

Thanks
-Caligula

--- On Wed, 8/12/09, Andrew Sutton <andrew.n.sutton@gmail.com> wrote:

From: Andrew Sutton <andrew.n.sutton@gmail.com>
Subject: Re: [Boost-users] [BGL] Can't correctly copy data
To: boost-users@lists.boost.org
Date: Wednesday, August 12, 2009, 4:23 AM

There may be something going on with the properties. Does the problem persist if you use bundled properties?

http://www.boost.org/doc/libs/1_39_0/libs/graph/doc/bundles.html

Andrew Sutton
andrew.n.sutton@gmail.com

-----Inline Attachment Follows-----

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users