Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Graph library migration 1.48 => 1.49 (1.50)
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-07-02 10:02:40


On Mon, 2 Jul 2012, Gregory wrote:

> Hi, All!
>
> I am newbie in boost.
>
> The code fragment compiled without errors with boost 1.48.0 in MS Visual Studio
> 2008 ,
> but returns compiler error with boost 1.49 and 1.50 :

There have been some issues with errors like this with Visual Studio and
pointer-based property maps. Could you please try replacing &distances[0]
with:

boost::make_iterator_property_map(distances.begin(), get(boost::vertex_index, g))

and similar for predesessor [sic]? That might fix the problem.

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net