Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-09-23 21:08:45


On Sep 20, 2004, at 12:27 PM, Jeffrey Holle wrote:

> const_iterator begin(void) const {return
> boost::get_property_iter_range(dataGraph_,vertex_Datum).first;}

Is dataGraph_ stored as a reference? You probably want:

   return boost::get_property_iter_range(static_cast<const
DataGraph&>(dataGraph_),vertex_Datum).first;

        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