From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: mxu@cae.wisc.edu Cc: gcc@gcc.gnu.org Subject: Re: "self" constructor Date: Wed, 22 Mar 2000 17:53:00 -0000 Message-id: References: <38D971CA.BED14EFD@cae.wisc.edu> X-SW-Source: 2000-03/msg00593.html On Mar 22, 2000, Min Xu wrote: > I have a question about calling a constructor of a class from > another constructor of this class. My question in detail is that > why following code is rejected by gcc? Because, unlike Java, C++ (as of the latest ANSI/ISO Standard) does not provide this feature. -- Alexandre Oliva Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/ Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com Free Software Developer and Evangelist CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me