Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Jonas Nygren
Mon, 17 Aug 1992 08:06
constructor, destructor for fundamental type
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads