RE: [gtk-list] Re: gtk-- : What's wrong with this code...?
- From: Jonathan Belson <jon dookie demon co uk>
- To: gtk-list redhat com
- Subject: RE: [gtk-list] Re: gtk-- : What's wrong with this code...?
- Date: Mon, 04 May 1998 09:45:15 -0000 (GMT)
On 03-May-98 Andreas Kostyrka wrote:
> On Sun, 3 May 1998, Jonathan Belson wrote:
>
>>
>> On 03-May-98 Guillaume Laurent wrote:
>> > Jonathan Belson <jon@dookie.demon.co.uk> 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?
Yeah, okay, it was a case of my fingers typing faster than my brain could
think 8^/
C-YA
Jon
http://www.dookie.demon.co.uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]