Boost logo

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:

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!


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at