Re: Problem with class operators.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kristian,

When you have an ambiguous situation like that, you could try this:

b = (ckstring.operator == (pchar));

Or you could remove the implicit convenience cast (operator char*), to
something like this, like was done with std::string for the same reason:

char* CkString::c_str();

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux