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 » [FEATURE REQUEST] bool AMap::HasKey(K key) ;
[FEATURE REQUEST] bool AMap::HasKey(K key) ; [message #43118] Thu, 08 May 2014 17:41 Go to previous message
omari is currently offline  omari
Messages: 265
Registered: March 2010
Experienced Member
Hi,

instead of :

if (map.Find(k) >= 0)


I like to have a function that returns a bool depending on whether it find the key or not:

if(map.HasKey(k))
or
if(map.ContainsKey(k))


regards
omari.
 
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: Sun Apr 28 22:55:00 CEST 2024

Total time taken to generate the page: 0.05578 seconds