
Replacing
vector < set< Colour > > eColours;
with
std::map < int, set< Colour > > emColours;
in edge properties.
Using
property_map < graph_t, map < int,

AMDG John Robertson wrote:
Replacing
vector < set< Colour > > eColours;
with
std::map < int, set< Colour > > emColours;
in edge properties.
Using property_map < graph_t, map < int,
> > edge_properties::*>::type emColours_map = get(&edge_properties::emColours, g); But get compiler error: template argument 2 invalid.
You have an extra pair of angle brackets around set. In Christ, Steven Watanabe

Problem solved. Thank you.
--- On Fri, 10/23/09, Steven Watanabe
Replacing vector < set< Colour > > eColours;
with
std::map < int, set< Colour > > emColours;
in edge properties.
Using property_map < graph_t, map < int,
> > edge_properties::*>::type emColours_map = get(&edge_properties::emColours, g); But get compiler error: template argument 2 invalid.
You have an extra pair of angle brackets around set. In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
John Robertson
-
Steven Watanabe