|
Boost Users : |
From: Jeffrey Holle (jeff.holle_at_[hidden])
Date: 2004-09-23 23:05:27
Thanks for this!
It works perfectly,const_cast works too.
Doug Gregor wrote:
>
> 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