Boost logo

Boost Users :

Subject: [Boost-users] [BGL] List of edges as property type
From: caligulaemperorofrome_at_[hidden]
Date: 2009-06-15 23:37:39


I'm trying to add a "list of edges" as an edge property type like so.

typedef adjacency_list < listS, vecS, directedS > Traits;

typedef adjacency_list < listS, vecS, directedS, vertex_properties,
    property < edge_list_t, std::list<Traits::edge_descriptor>, edge_properties > > > graph_t;

But the compiler says : 
error: ‘edge_list_t’ was not declared in this scope

So I think I need to add edge_list_t to the set of property tags.
I think there is a method like BOOST_INSTALL PROPERTY ( edge_list_t ).
But I think I read somewhere that thats the old way.
Can someone tell me the new way to do it?

PS: How can I tell which version of boost I am using?

Thanks
- Caligula



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