Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!inria!litp!gautron From: gautron@litp.ibp.fr (Philippe GAUTRON) Newsgroups: comp.lang.c++ Subject: botched example Message-ID: <3328@litp.ibp.fr> Date: 16 Aug 90 10:40:41 GMT Reply-To: gautron@litp.ibp.fr.UUCP (Philippe GAUTRON) Organization: Institut Blaise Pascal, Paris, France Lines: 27 Subject: botched example --text follows this line-- Pitfall or botched example, I dislike the following example, but I'm sure that, one day or another, someone will try it (if not already done!) Hayssam Saleh wrote it. class X {}; class Y {}; class U {}; class UiN214cT11f {}; void f (X,X,X,X,X,X,X,X,X,X, Y, X, UiN214cT11f) {} void f (X,X,X,X,X,X,X,X,X,X, Y, Y, U, int,int,int,char,Y,float){} The two f will be encoded with a same name: char f__F1XN911YT111UiN214cT11f char f__F1XN911YT111UiN214cT11f ----------------------- Philippe GAUTRON UUCP: gautron@rxf.ibp.fr Rank Xerox France - LITP Universite Paris 6 4 place Jussieu 75252 PARIS CEDEX 05 France