|
Boost Users : |
From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2004-06-17 10:35:31
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<Graph,vertex_color_t>::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
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