Hi, On Wed, 2008-06-11 at 10:02 -0500, Carsten Neumann wrote: > Hi Gerrit, > > OSGPointerMField.h has this > > #ifndef OSG_CLEAN_FCFIELDS > [...] > > iterator find_nc (const_value value); > #endif > > [...] > > #ifndef OSG_CLEAN_FCFIELDS > iterator find(const_value value); > #endif > const_iterator find(const_value value) const; > > and AFAIKS OSG_CLEAN_FCFIELDS is defined normally. Unfortunately a find > that only can return const_iterator makes it impossible [1] to feed the > find result as input to other operations, like erase, insert, etc that > expect a non-const itertator. > So, which one should be moved out of the #ifdef find or find_nc ? Or is > there a different idea behind that define and its uses ?
I'll have a look, IIRC I used it to find wrong iterator (iterator instead of const_iterator) uses inside OpenSG. So at least that it is still defined for normal operations is not correct. I'll move that to my private settings. I guess you ask in the context of the generic interface ? kind regards, gerrit ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Opensg-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-core
