From: Alexandre Oliva <aoliva@cygnus.com>
To: mxu@cae.wisc.edu
Cc: gcc@gcc.gnu.org
Subject: Re: "self" constructor
Date: Wed, 22 Mar 2000 17:53:00 -0000 [thread overview]
Message-ID: <orr9d2xxji.fsf@garnize.lsd.ic.unicamp.br> (raw)
In-Reply-To: <38D971CA.BED14EFD@cae.wisc.edu>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
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
next prev parent reply other threads:[~2000-03-22 17:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-22 17:22 Min Xu
2000-03-22 17:53 ` Alexandre Oliva [this message]
2000-03-23 0:59 ` Martin v. Loewis
2000-03-23 6:35 ` Min Xu
2000-03-23 9:21 ` Martin v. Loewis
2000-03-22 19:07 Mike Stump
2000-03-23 6:40 ` Min Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=orr9d2xxji.fsf@garnize.lsd.ic.unicamp.br \
--to=aoliva@cygnus.com \
--cc=gcc@gcc.gnu.org \
--cc=mxu@cae.wisc.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).