[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Possible memory leak in TSVNCache

From: Joseph Galbraith <galb_at_vandyke.com>
Date: 2006-02-07 20:08:28 CET

Will Dean wrote:
> At 19:18 07/02/2006 +0100, Stefan Küng wrote:
>
>> btw: did you know that by using the [] operator of std::map that it
>> creates a new entry if the one you're looking for doesn't exist? Well,
>> I didn't until now.
>
> Yes, I knew that... (You expected me to say that, though, didn't you!)

I'm sure you both realize this, but the reason for
this is so that that:

  map[whatever_key] = whatever;

works correctly.

Thanks,

Joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Feb 7 20:08:14 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.