[comp.lang.c++] Virtual operator problem

robison@m.cs.uiuc.edu (01/07/90)

class A {
	virtual operator int() = 0;
};

The program above generates the error below:

"test.c", line 2: internal <<AT&T C++ Translator 2.0 06/30/89>> error: signature of  0
1 error

Is there a work-around other than changing 'operator int' to 'foo'?

Arch D. Robison
University of Illinois at Urbana-Champaign

UUCP: {pur-ee,convex}!uiucdcs!robison
Internet: robison@CS.UIUC.EDU