Hi. I am having a problem with depth_first_search.
The thing I do different is that I do not put any info in a property map
and I do not want to bother myself with colormaps etc.
The application code does:
Graph g;
pass2_visitor vis;
depth_first_search(g,boost::visitor(vis));
But I get a compilation error, saying that it can not find a suitable
operator+ in the property_map...
See attached files for complete example.
Grateful for all help!
(I am running from HEAD on sourceforge cvs )
Regards Peter Aronsson
--
_________________________________________________________________
/ Peter Aronsson, Phd Student at PELAB (Programming Environments \
| Laboratory ) Department for Computer & Information Science |
| Linköping University, Sweden |
|=================================================================|
| petar@ida.liu.se , phone +46 (0)13-28 1737 Room 3B:490 |
\_________________________________________________________________/
#include "tg.hpp"
int main() {
TaskGraph g;
pass2_visitor vis;
depth_first_search(g,boost::visitor(vis));
}
#ifndef _TASKGRAPH_H
#define _TASKGRAPH_H
#include