Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » AMap's FindAdd, FindPut API changed
AMap's FindAdd, FindPut API changed [message #42167] Tue, 25 February 2014 17:14 Go to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

with rev. 6661 the behavior of AMap's FindAdd, FindPut functions changed in that there is no negative return value anymore if key has not been found in the map prior to adding the new one.

Was that change introduced on purpose?
If yes, I think a lot of client code has to be changed.

Regards
Matthias
Re: AMap's FindAdd, FindPut API changed [message #42472 is a reply to message #42167] Tue, 18 March 2014 11:55 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Are you sure about this?

I have checked revisision 6660, 4000 and 1000 and nothing seems to be changed since 1000.
Re: AMap's FindAdd, FindPut API changed [message #42521 is a reply to message #42472] Thu, 20 March 2014 22:15 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi Mirek,

yes you are right, I am sorry.
It seems that I confused it with Find() method in my recollection.

Sorry again, but thanks for checking anyway. Rolling Eyes

Regards
Matthias
Previous Topic: String should implement the Boyer Moore algo
Next Topic: Base Exception class behavior change
Goto Forum:
  


Current Time: Fri Apr 19 15:12:04 CEST 2024

Total time taken to generate the page: 0.02747 seconds