23 Oct
2009
23 Oct
'09
12:04 a.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
5446
Age (days ago)
5446
Last active (days ago)
0 comments
1 participants
participants (1)
-
John Robertson