Boost logo

Boost :

From: Kevin S. Van Horn (kevin_vanhorn_at_[hidden])
Date: 2001-04-03 11:24:52


In the graph library documentation, under "Using adjacency_list"
(libs/graph/doc/using_adjacency_list.html), it claims that all I have to
do to create a new internal vertex property is to define a tag

  struct my_vertex_property_t { };

and then

  typedef property<my_vertex_property_t, my_property_type> VertexProperty;
  typedef adjacency_list<..., ..., ..., VertexProperty> graph_type;

should define the desired graph type. However, I find that this does not
work; I get a compiler error complaining that there is no type named
'kind' in 'struct my_vertex_property_t'.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk