Boost logo

Boost Users :

From: Fred Labrosse (ffl_at_[hidden])
Date: 2006-04-20 03:34:47


On Wednesday 19 Apr 2006 21:26, Johan Oudinet wrote:

> > Should that be something like:
> >
> > default_writer dw;
> > default_writer gw;
> > write_graphviz(of, theMap, pw, dw, gw, get(&place.getNumber(), theMap));
>
> No, you're get parameter is wrong, try this :
> write_graphviz (of, theMap, pw, dw, gw, get (&place::number, theMap));
>

Yes, I gathered that last night when I tried it. This also means that I need
to have public attributes instead of get functions... :-(

Thanks anyway.

Fred


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