Opened 13 years ago
Closed 13 years ago
#3156 closed Bugs (fixed)
typedef in boost/graph/distributed/adjacency_list.hpp changes meaning of adjacency_iterator
Reported by: | Owned by: | Douglas Gregor | |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | graph |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | distributed/adjacency_list.hpp | Cc: |
Description
iget a compilation error when I try to compile some tests in libs/graph_parallel/test/. GCC 4.3.2 complains about a type definition in boost/graph/distributed/adjacency_list.hpp. In GCC4.3.2 the following definition is invalid, see the discussion in http://gcc.gnu.org/ml/gcc-bugs/2009-01/msg00841.html:
boost/graph/distributed/adjacency_list.hpp(line 1420):
typedef adjacency_iterator<
adjacency_list, vertex_descriptor, out_edge_iterator,
typename detail::iterator_traits<base_out_edge_iterator>
::difference_type>
adjacency_iterator;
to:
typedef boost::adjacency_iterator<
adjacency_list, vertex_descriptor, out_edge_iterator,
typename detail::iterator_traits<base_out_edge_iterator>
::difference_type>
adjacency_iterator;
fixes the compilation error.
(In [53777]) Fixed issue from #3156; fixes #3156, refs #3134