Newbie question -- graph library example
In the example examples/file_dependencies.cpp, I can't see what either of the typedefs for Color do:
typedef property_map
On Thu, 17 Jun 2004, Tim Rowe wrote:
In the example examples/file_dependencies.cpp, I can't see what either of the typedefs for Color do: typedef property_map
::type Color; If I comment then out everything seems still to work. What are they there for?
It looks like they were originally used to detect cyclic dependencies, as in the example in the documentation: http://www.boost.org/libs/graph/doc/file_dependency_example.html But they aren't actually used at all, because they aren't needed. I'm removing them and resynchronizing the documentation with the example code. Thanks for finding this! Doug
participants (2)
-
Douglas Paul Gregor
-
Tim Rowe