[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ost::String operator[] overloads
From: |
Andrey Kulikov |
Subject: |
ost::String operator[] overloads |
Date: |
Fri, 9 Jul 2004 22:07:20 +0400 |
Hello ,
I have found that ost::String operator[] can't be correctly used by
VS2003.
Code example:
ost::String s("aaa");
if(s[0] != '\0');
Produsing compile error:
error C2666: 'ost::String::operator`[]'' : 2 overloads have similar conversions
\include\cc++\string.h(674): could be 'const char ost::String::operator
[](unsigned int) const'
or 'built-in C++ operator[(char *, int)'
--
Best regards,
Andrey mailto:address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ost::String operator[] overloads,
Andrey Kulikov <=