Boost logo

Boost Users :

From: Chris Russell (cdr_at_[hidden])
Date: 2002-09-15 01:09:25


What determines when boost::get(Graph, vertex_myproperty_t) returns a
boost::property_map<graph_t, vertex_myproperty>::type vs. a ::const_type?

Suppose:
enum vertex_myproperty_t { vertex_myproperty = 12345};
BOOST_INSTALL_PROPERTY(vertex,myproperty);

typedef property<vertex_myproperty_t, MyPropertyObject, ....>
vertex_properties_t;

typedef adjacency_list<vecS,vecS,bidirectionalS, vertex_properties_t>
graph_t;

typedef property_map<graph_t, vertex_myproperty_t>::type
vertex_myproperty_map_t;

graph_t Graph;


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