Boost logo

Boost :

Subject: Re: [boost] [BGL] on using visitor in dijkstra_shortest_path
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2009-07-02 11:24:56


On Thu, Jul 2, 2009 at 5:02 AM, Andrew Sutton <andrew.n.sutton_at_[hidden]>wrote:

> On Wed, Jul 1, 2009 at 7:22 PM, Sandeep Gupta <gupta.sandeep_at_[hidden]
> >wrote:
>
> > Hi,
> > The example code for extending dijkstra via gives compilation errors.
> > Attached below is the snippet code and the error messages using
> gcc-4.3.3
> > and boost_138_0.
> >
>
> What errors?
>

Hi Andrew,

It gives following errors:

In file included from main.cpp:6:
debugDijkstra.hpp:30: error: expected constructor, destructor, or type
conversion before ‘<’ token

at the location:
template <class PredecessorMap> record_predecessors<PredecessorMap> //error
here
make_predecessor_recorder(PredecessorMap p) {

Thanks
sandeep

>
> Andrew Sutton
> andrew.n.sutton_at_[hidden]
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk