Hi Rene, Masa
Root 3.00/06
I have in a class
std::map<Int_t,PulserSummary>::const_iterator GetBegin() const;
rootcint generates for this
static int G__PulserSummaryList_GetBegin_5_1(G__value *result7,G__CONST
char *funcname,struct G__param *libp,int hash) {
{
const map<int, PulserSummary,less<int>,__malloc_alloc_template<0>
>::iterator *pobj,xobj=((const
PulserSummaryList*)(G__getstructoffset()))->GetBegin();
pobj=new
map<int,PulserSummary,less<int>,__malloc_alloc_template<0>
>::iterator(xobj);
result7->obj.i=(long)((void*)pobj); result7->ref=result7->obj.i;
G__store_tempobject(*result7);
}
return(1 || funcname || hash || result7 || libp) ;
}
I think it should have const_iterator rather than iterator. Is this fixed
in 3.01?
Phil
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET