Re: [Boost-Users] Unable to BOOST_INSTALL_PROPERTY

6 Mar
2003
6 Mar
'03
5:24 p.m.
Martin, I did a simple search through the Boost website, and on http://www.boost.org/libs/graph/doc/using_adjacency_list.htm, I found this: You can also use enum's instead of struct's to create tag types. Create an enum type for each property. The first part of the name of the enum type must be edge, vertex, or graph followed by an underscore, with a _t at the end. Inside the enum, define a value with the same name minus the _t. Then invoke the BOOST_INSTALL_PROPERTY macro. enum edge_myflow_t { edge_myflow }; enum edge_mycapacity_t { edge_mycapacity }; namespace boost { BOOST_INSTALL_PROPERTY(edge, myflow); BOOST_INSTALL_PROPERTY(edge, mycapacity); } compared to:
which means it should be:
Dale
8163
Age (days ago)
8163
Last active (days ago)
0 comments
1 participants
participants (1)
-
Administrator