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

List:       kde-commits
Subject:    Re: KDE/kdelibs
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2006-01-04 12:42:45
Message-ID: 20060104124245.GB99641 () xs4all ! nl
[Download RAW message or body]

On Wed, Jan 04, 2006 at 01:37:23PM +0100, Koos Vriezen wrote:
> On Wed, Jan 04, 2006 at 01:24:53PM +0100, David Faure wrote:
> > On Wednesday 04 January 2006 12:07, Koos Vriezen wrote:
> > > Ah, no wonder I didn't get it. Ok, then why not
> > >   SomeClass dlg(QString());  =>  SomeClass dlg = QString();
> > > instead?
> > 
> > Doesn't work with an explicit constructor; doesn't work with more than one argument either
> > (which is the most common case, see the initial commit that this discussion is about). 
> 
> It does as 'SomeClass dlg = SomeClass(QString());', little
> more verbose though.

Err, this is using the copy ctor as well. Ok, sorry for the noise ..

> Koos
[prev in list] [next in list] [prev in thread] [next in thread] 

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