
26 Sep
2011
26 Sep
'11
3:56 p.m.
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