Ticket #11260: property_example.cpp

File property_example.cpp, 291 bytes (added by dave.lowell@…, 7 years ago)

reproduction code

Line 
1#include "boost/graph/adjacency_list.hpp"
2
3using namespace boost;
4
5int main(int argc, char** argv)
6{
7 typedef property<vertex_index_t, boost::shared_ptr<int> > prop;
8 typedef adjacency_list<vecS, vecS, directedS, prop> Graph;
9
10 Graph g;
11 boost::add_vertex(g);
12
13 return 0;
14}