[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: cpp header organizer
From:       Adam Treat <manyoso () yahoo ! com>
Date:       2005-01-28 23:59:00
Message-ID: 200501281901.33509.manyoso () yahoo ! com
[Download RAW message or body]

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

_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic