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 » Community » Newbie corner » String to std::string conversion
Re: String to std::string conversion [message #32849 is a reply to message #32848] Wed, 15 June 2011 05:25 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
Please test if

tempPath = const_cast<String&>(file[i]);


compile.

If yes, I believe the ambiguity arises because of

	operator std::string() const;

And
     operator const char *() const   { return Begin(); }


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MSVC 10 to Upp conversion
Next Topic: HttpClient and language choice (HTTP_ACCEPT_LANGUAGE)
Goto Forum:
  


Current Time: Mon May 12 15:53:39 CEST 2025

Total time taken to generate the page: 0.04700 seconds