Why isn't the 'operator==' in ksslcertificate not a boolean?

Richard Dale richard_dale at tipitina.demon.co.uk
Mon Jul 9 19:37:38 BST 2007


In ksslcertificate.h there are these two methods:

KIO_EXPORT int operator==(KSSLCertificate& x, KSSLCertificate& y);
KIO_EXPORT inline int operator!=(KSSLCertificate& x, KSSLCertificate& y)
{ return !(x == y); }

Is there any reason why they don't return a bool value?

-- Richard




More information about the kde-core-devel mailing list