
29 Jun
2010
29 Jun
'10
9:38 p.m.
On Jun 28, 2010, at 12:23 PM, Trevor Harmon wrote:
#include
#include using namespace boost;
class MyVertex { public: virtual ~MyVertex() {} };
class MyGraph : public subgraph
> > { }; typedef property_map
::type EdgeIndexMap; int main(int,char*[]) { MyGraph g; EdgeIndexMap edgeMap = get(edge_index, g); return 0; }
Hmm... If I change the EdgeIndexMap typedef so that MyGraph is simply
replaced by its superclass, then the code compiles. That is, I change
this:
typedef property_map