N
Neo
Greetings!
I'm now building some VC6-compatible programs under VC7 (VS.NET 2003). Here
is my problem:
vector<wstring>::iterator itArgv;
// ......
if (basic_string<wstring>::npos !=
itArgv->find_first_of(L"ABCDEFGHIJKLMNOPQRSTUVWXYZ", 1)) // error C2621
{
// ......
}
Based on the header file "xstring", "find_first_of" returns "npos" when the
data specified cannot be found. How can I test the return value without
C2621?
Thanks in advance!
Neo
I'm now building some VC6-compatible programs under VC7 (VS.NET 2003). Here
is my problem:
vector<wstring>::iterator itArgv;
// ......
if (basic_string<wstring>::npos !=
itArgv->find_first_of(L"ABCDEFGHIJKLMNOPQRSTUVWXYZ", 1)) // error C2621
{
// ......
}
Based on the header file "xstring", "find_first_of" returns "npos" when the
data specified cannot be found. How can I test the return value without
C2621?
Thanks in advance!
Neo