
22 Oct
2009
22 Oct
'09
6:04 p.m.
Trying to replace vector with std::map as follows. Replace typedef string Colour; struct edge_properties { vector < set< Colour
> eColours;
} with typedef string Colour; struct edge_properties { std::map < int, set< Colour > > emColours; } Using property_map < graph_t, map < int, <set< Colour > > > edge_properties::*>::type emColours_map =get(&edge_properties::emColours,g); getting compiler errors error: template argument 2 is invalid error: template argument 4 is invalid Thanks -JR
5718
Age (days ago)
5718
Last active (days ago)
0 comments
1 participants
participants (1)
-
John Robertson