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 » problem with String and == operator in 608-dev1
problem with String and == operator in 608-dev1 [message #4802] Tue, 22 August 2006 18:10 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
With 607-dev1 and MSC8 I could compile the following code:
...
	if ( AsString(~editCountry) == Null) editCountry <<= "---";
...

Now with 608-dev1 the compiler cry:
C:\Vega\Vega5\VegaTab1.cpp(179) : error C2593: 'operator ==' is ambiguous
        C:\upp\uppsrc\Core/Value.h(187): could be 'bool operator ==(String,const Value &)'
        C:\upp\uppsrc\Core/String.h(154): or 'bool AString<T,S>::operator ==(const S &,const S &)' [found usi
	ng argument-dependent lookup]
        with
        [
            T=char,
            S=String
        ]
        while trying to match the argument list '(String, const Nuller)'

Is something changed during the holidays? (even Mingw complain about '==' operator)

Luigi

[Updated on: Tue, 22 August 2006 18:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in "NTL - Transfer semantics" documentation
Next Topic: encryption
Goto Forum:
  


Current Time: Tue May 14 00:45:30 CEST 2024

Total time taken to generate the page: 0.03374 seconds