Subject: [Boost-bugs] [Boost C++ Libraries] #2032: write_graphviz VertexList problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-21 21:12:52
#2032: write_graphviz VertexList problem
--------------------------------------------+-------------------------------
Reporter: tim blechmann <tim_at_[hidden]> | Owner: dgregor
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: graph
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
--------------------------------------------+-------------------------------
hi all, the following code compiles fine:
{{{
#!cpp
include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graphviz.hpp>
#include <iostream>
using namespace std;
typedef boost::adjacency_list<boost::setS,
boost::vecS
> graph_t;
int main()
{
graph_t graph;
boost::write_graphviz(std::cout, graph);
}
}}}
changing the !VertexList type from vecS to listS, the code doesn't compile
any more:
{{{
#!cpp
include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graphviz.hpp>
#include <iostream>
using namespace std;
typedef boost::adjacency_list<boost::setS,
boost::listS
> graph_t;
int main()
{
graph_t graph;
boost::write_graphviz(std::cout, graph);
}
}}}
i tested it with gcc-4.2 and gcc-4.3 ...
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2032>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC