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 11:56:22


> You should really use "add_edge(u, v, map)" in case that function is moved
> to a different namespace in the future (or for user-defined graph types
> that are not in the boost namespace, if you care about those).

Thank you for the advice. Could you please give me a reference to the
docs to find out more about such general graph functions. For now i know
"add_edge()" and "add_vertex()".

Where are this functions defined? I am not quite familiar with generic
programming yet. This may be one source of problems. Nevertheless, if
the compiler finds the (template) function "add_edge()". Why does the
compiler know where to look for the function "add_edge()".

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