[boost-users][BGL] prim_minimum_spanning_tree
According to the source, all variants of the function template take in a const reference to Graph, but the docs state that the non-named-parameter variant takes in a regular Graph reference. There is also no mention of the two-parameter variant that takes in only a const Graph& and an output PredecessorMap. Is this a documentation bug? Cromwell Enage __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Nov 8, 2004, at 1:50 PM, Cromwell Enage wrote:
According to the source, all variants of the function template take in a const reference to Graph, but the docs state that the non-named-parameter variant takes in a regular Graph reference.
This is a documentation bug. I've just checked in the fix.
There is also no mention of the two-parameter variant that takes in only a const Graph& and an output PredecessorMap.
Is this a documentation bug?
I don't think it's actually a bug; at least, it isn't inconsistent with the way the rest of the graph algorithms are specified. Whenever there is a "params" parameter, one can assume that providing no parameters is also acceptable. Thanks! Doug
participants (2)
-
Cromwell Enage
-
Doug Gregor