"self" constructor
Alexandre Oliva
aoliva@cygnus.com
Wed Mar 22 17:53:00 GMT 2000
On Mar 22, 2000, Min Xu <mxu@cae.wisc.edu> 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
More information about the Gcc
mailing list