Boost logo

Boost Users :

Subject: Re: [Boost-users] How to use make_bfs_visitor (and/or time_stamper)
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-09 20:17:44


On Thu, Jun 9, 2011 at 2:36 AM, Anders Wallin
<anders.e.e.wallin_at_[hidden]> wrote:
> When using a std::vector for the TimeMap parameter of stamp_times I
> saw errors along the lines of
> "error: no matching function for call to ‘put(........."
>
> I changed the TimeMap parameter to a raw array, and now this compiles for me:
> http://codepad.org/9KZp2FP2
>
> not sure exactly why... (the vertex descriptor type is 'long unsigned
> int', which maybe isn't the key-type for a std::vector<Size> ?)
>
> Anders

Thanks Anders, it compiles for me too (not that I know what to do with
it now...? haha).

David


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