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 » Strange issue with VectorMap<String, String>
Re: Strange issue with VectorMap<String, String> [message #26238 is a reply to message #26237] Fri, 16 April 2010 12:15 Go to previous message
Sc0rch is currently offline  Sc0rch
Messages: 99
Registered: February 2008
Location: Russia, Rubtsovsk
Member

luzr wrote on Fri, 16 April 2010 16:57


Preferred conversion of const char * is to bool - it is straight, while -> String it requires constructor pass. So you have infinite recursion here.

Fix: Add

XMLConfig& XMLConfig::Set(const String& param, const char *value)
{
	Map.GetAdd(param) = value;
	return *this;
}




My mistake. All works now. Thank you for support!
P.S. The best toolkit.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to program real U++ applications
Next Topic: WHY? "Index:: and ArrayIndex::operator[]" returns const T&
Goto Forum:
  


Current Time: Wed Jun 12 11:14:24 CEST 2024

Total time taken to generate the page: 0.02833 seconds