[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Stupid C++ pointer question
From:       Robin Atwood <robin.atwood () attglobal ! net>
Date:       2002-02-16 5:23:24
[Download RAW message or body]

On Saturday 16 Feb 2002 05:32, Charles Samuels wrote:
> fredag 15 februar 2002, 02:27 pm, skrev Thomas Schilling:
> > > class KallGlobals
> > > {
> > > static KallGlobals kall;
> > > }
> > >
> > > in a cpp file somewhere, you must have:
> > >
> > > KallGlobals::KallGlobals kall;
> >
> > No, you must have;
> >
> > KallGlobals KallGlobals::kall;
>
> Er, yes.  oops.

Guillaume, Charles, Thomas -
Thanks guys, everything is much clearer now. I assume that the above 
construction is gcc specific?
Cheers...
-Robin.
-- 
----------------------------------------------------------------------
Robin Atwood.

"This tag line left intentionally blank"
----------------------------------------------------------------------








 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic