cpp header organizer

Adam Treat manyoso at yahoo.com
Sat Jan 29 00:58:05 UTC 2005


Hey Felix, any chance this will be ready for the feature freeze?

Adam

On Thursday 13 January 2005 10:15 am, Felix Berger wrote:
> On Thursday 13 January 2005 15:51, Matt Rogers wrote:
> > QValueList would behave the same way wrt to the iterators becoming
> > invalid after the list goes out of scope IIRC
>
> At least a const_iterator only stores a reference to the nodes used, as far
> as I could see, it holds no reference of the list and the list doesn't know
> anything about the iterator as well.
>
> const_iterator begin() const { return const_iterator( sh->node->next ); }
>
> Of course it's true that the iterator becomes invalid when all lists that
> share the internal list are deleted. But this wouldn't be the case here,
> since one list is a member of BaseClausAST.
>
> Felix




More information about the KDevelop-devel mailing list