[Boost-bugs] [Boost C++ Libraries] #3156: typedef in boost/graph/distributed/adjacency_list.hpp changes meaning of adjacency_iterator

Subject: [Boost-bugs] [Boost C++ Libraries] #3156: typedef in boost/graph/distributed/adjacency_list.hpp changes meaning of adjacency_iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-09 16:04:48


#3156: typedef in boost/graph/distributed/adjacency_list.hpp changes meaning of
adjacency_iterator
--------------------------------------------+-------------------------------
 Reporter: ricortiz_at_[hidden] | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: distributed/adjacency_list.hpp |
--------------------------------------------+-------------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3156>
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:50:00 UTC