[gtk-list] Re: gtk-- : What's wrong with this code...?



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^)

What if a constructor is someday added?

>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]