|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-05-23 11:28:19
Hi Doug,
Thanks for catching that. I've checked in the fix.
On Thu, 23 May 2002, Douglas Gregor wrote:
gregod> This addition to topo_sort_visitor breaks the use of topological_sort on GCC
gregod> 2.95.3:
gregod>
gregod> template <typename Edge, typename Graph>
gregod> void back_edge(Edge& u, Graph&) { throw not_a_dag(); }
gregod>
gregod> "Edge&" should be "const Edge&" or "Edge", because there is no reason to be
gregod> passing around edge descriptors by non-const reference.
gregod>
gregod> Doug
gregod> _______________________________________________
gregod> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
gregod>
----------------------------------------------------------------------
Jeremy Siek http://php.indiana.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk