Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL: How to get add_edge work with adjacency_list graph
From: Christoph (c_p_at_[hidden])
Date: 2011-09-26 10:21:05


> The add_edge() function should be called unqualified; the compiler will
> find the correct definition. In particular, it is not a member of any
> class (static or non-static).

Thank you very much for your answer. When i replace

"Map::add_edge(u, v, map)"

by

"boost::add_edge(u, v, map)"

it works fine.

best regards
Christoph


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