This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Doxygen documentation for slist


On Thu, Jan 27, 2005 at 08:22:11PM +0100, Lorenz Minder wrote:

> > I guess it was the information about iterator invalidation that has
> > taken a bit longer to seep through my brain.
> 
> Oh! I was never talking about that part, myself. It's still there, and I
> don't think it should be taken out.
> 
> The fact that iterators are not invalidated is particular to lists: It
> does not hold for vectors, for example.
> 
> So I definitely think this part should be left there.
> 
> Jonathan, am I correct in assuming you weren't talking about that
> sentence either?

That's right, I only object to repeating the comments about manually
deleting pointers. Comments about iterator invalidation are a good thing
IMHO, since that behaviour _does_ vary between containers and between
different functions.

Overall though, I'd rather see your slist comments go in in the original
form than not at all, they're valuable whatever minor quibbles I have!

jon

-- 
"Hanging is too good for a man who makes puns; he should be drawn and quoted."
	- Fred Allen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]