|
Boost Users : |
Subject: [Boost-users] Why can't I use boost graph write_graphviz with OutEdgeList=listS and VertexList=listS
From: Allan Nielsen (a_at_[hidden])
Date: 2011-04-25 13:57:27
Hi
Why can't I compile the following simple app. If I changes listS to
vecS every thing works just fine. (I'am using boost 1.46.1 and gcc
4.4.5)
#include <iostream>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graphviz.hpp>
int main(int argc, const char *argv[]) {
boost::adjacency_list< boost::listS, boost::listS,
boost::bidirectionalS > g;
boost::write_graphviz(std::cout, g);
return 0;
}
Best regards
Allan W. Nielsen
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