U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » [FEATURE REQUEST] bool AMap::HasKey(K key) ;
Re: [FEATURE REQUEST] bool AMap::HasKey(K key) ; [message #43138 is a reply to message #43118] Fri, 16 May 2014 09:04 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Well, I understand that comparing for >= 0 might be confusing at first, but, generally:

- complexity of HasKey is the same as Find

- Find provides more information

- there are many places with similar situation, e.g. String::Find

- less methods in interface are usually better

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: [FIXED] String::Replace(empty string,) => Out of memory!
Next Topic: Unterminated processing info in XmlParser
Goto Forum:
  


Current Time: Fri Sep 25 06:09:29 GMT+2 2026

Total time taken to generate the page: 0.00544 seconds