From 5224873589315955030
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,64409d9769f709f0
X-Google-Attributes: gid109fba,public
X-Google-Thread: f78e5,64409d9769f709f0
X-Google-Attributes: gidf78e5,public
From: Otto Perdeck <otto.perdeck@inter.NL.net>
Subject: Re: Is this legal C++?
Date: 1998/08/06
Message-ID: <35C9E377.831A9392@inter.NL.net>#1/1
X-Deja-AN: 378580405
X-NNTP-Posting-Host: newsutr.nl.uu.net
Content-Transfer-Encoding: 7bit
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <01bdc100$f82d21b0$19011a12@bwing>
X-UID: 0000000001
X-Status: $$$T
Content-Type: text/plain; charset=us-ascii
Organization: UUNET-NL
Mime-Version: 1.0
Newsgroups: comp.lang.c++,comp.std.c++
Originator: clamage@taumet

You should have gotten 2 errors instead of one. There is no standard way to call the
constructor directly. Destructors can be called directly, constructors not. If you want
to call the constructor explicitly, create some "init" method to do the job.

-Otto Perdeck



[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




