[comp.lang.c++] explicit class name allowed in member function declaration?

psrc@pegasus.ATT.COM (Paul S. R. Chisholm) (10/15/89)

// The following appears to work in AT&T cfront 2.0.  I don't know why
// anyone would want to do such a thing (I found source code I wrote
// littered with this oddity, and can't remember why *I* wanted to do
// such a thing).  Is it reasonable, gross but legal, or should even
// cfront reject it?

class foo {
	int	i;	// I feel better with at least one member
public:
	// anyone normal would say:
	// foo()	{ i = 0; }
	// but I appear able to say instead:
	foo::foo()	{ i = 0; }
};

// Paul S. R. Chisholm, AT&T Bell Laboratories
// att!pegasus!psrc, psrc@pegasus.att.com, AT&T Mail !psrchisholm
// I'm not speaking for the company, I'm just speaking my mind.