Article View: gnu.gcc.bug
Article #954constructor, destructor for fundamental type
From: Jonas Nygren
Date: Mon, 17 Aug 1992 08:06
Date: Mon, 17 Aug 1992 08:06
11 lines
791 bytes
791 bytes
I tried the following in gcc-2.2.1: int *p; p->int::~int(); and the compiler complained. According to the ARM this construct is legal, page 280. Neither did p->int::int(1) work which I assume it should in analogy with the destructor. It is legal to write int i = int(1), so a constructor or othe construct must be available. /jonas
Technical Details
Message-ID:
<1992Aug17.080605.24536@ericsson.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!beppe.ericsson.SE!jonasShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!beppe.ericsson.SE!jonas From: jonas@beppe.ericsson.SE (Jonas Nygren) Subject: constructor, destructor for fundamental type Message-ID: <1992Aug17.080605.24536@ericsson.se> Sender: gnulists@ai.mit.edu Reply-To: jonas@beppe.ericsson.se Organization: Ericsson Telecom AB Distribution: gnu Date: Mon, 17 Aug 1992 08:06:05 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 13