All pastes #568123 Raw Edit

Stuff

public cpp v1 · immutable
·published 2007-06-15 08:49 UTC
rendered paste body
#include <stdio.h>class tst{public:	int operator==(const int value)	{		if (value==0)			return 0;		else 			return 1;	}		long operator==(const long value)	{		if (value==1)			return 2;		else 			return 3;	}   };int main(int argc, char* argv[]){	tst bzzt;	printf("%d\n",(bzzt == (int)6));	printf("%d\n",(bzzt == (long)6));	return 0;}