Re: [gtk-list] Re: gtk-- : What's wrong with this code...?
- From: Andreas Kostyrka <andreas ag or at>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: gtk-- : What's wrong with this code...?
- Date: Mon, 4 May 1998 00:42:00 +0200 (MEST)
On Sun, 3 May 1998, Jonathan Belson wrote:
> On 03-May-98 Guillaume Laurent wrote:
> > Jonathan Belson <email@example.com> writes:
> >> GSList *gsl = new GSList
> > No need to call 'new' on this one. It's not a class anyway.
> AIUI a struct is a type of class in C++, but since there is no
> constructor I'd agree that calling 'new' is kind of pointless 8^)
Since WHEN does calling new have anything todo with the fact if the type
is a class or if the object has a constructor?
It actually depends upon the usage of the pointer.
] [Thread Prev