[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: cpp header organizer
From: Felix Berger <bflat1 () gmx ! net>
Date: 2005-01-13 15:15:04
Message-ID: 200501131615.04762.bflat1 () gmx ! net
[Download RAW message or body]
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
--
Use Debian GNU/Linux!
http://www.felix.beldesign.de/
_______________________________________________
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