Boost logo

Boost Users :

Subject: [Boost-users] [BGL] seg fault
From: John Robertson (jrobertson7711_at_[hidden])
Date: 2009-10-22 20:04:01


Trying to replace vector with std::map as follows.

Replace

typedef string Colour;

struct edge_properties
{
 
  vector < set< Colour >  > eColours;

}

with

typedef string Colour;

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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net