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  |
 |
forlano
Messages: 1207 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
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:19:52 CEST 2025
Total time taken to generate the page: 0.01386 seconds
|