Home » Community » Newbie corner » String to std::string conversion
Re: String to std::string conversion [message #32850 is a reply to message #32849] |
Wed, 15 June 2011 05:35   |
|
Quote:
Quote: | C:\MyApps\proto1\main.cpp(42) : error C2872: 'String' : ambiguous symbol
could be 'c:\myapps\opencv22\opencv2/core/core.hpp(84) : std::string cv::String'
or 'c:\upp\uppsrc\core\String.h(294) : Upp::String'
C:\MyApps\proto1\main.cpp(42) : error C2440: 'const_cast' : cannot convert from 'Upp::String' to 'cv::String &'
Reason: cannot convert from 'Upp::String *' to 'cv::String *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
|
|
|
|
Goto Forum:
Current Time: Mon May 12 15:57:13 CEST 2025
Total time taken to generate the page: 0.03439 seconds
|