[PATCH] New constructor for DCOPStub

Simon Hausmann hausmann at kde.org
Tue Jan 14 16:24:15 GMT 2003


On Tue, Jan 14, 2003 at 08:43:16AM +0100, Christian Loose wrote:
> Am Montag, 13. Januar 2003 23:49 schrieb Simon Hausmann:
> > On Mon, Jan 13, 2003 at 10:47:43PM +0100, Christian Loose wrote:
> > > Hi!
> > >
> > > This attached patch adds a new convenience constructor to DCOPStub (with
> > > the according changes to dcopidl2cpp) which takes a DCOPRef.
> >
> > Can you add an assignment operator implementation in the same run?
> >
> > :)
> 
> Sure, I will do that.
> 
> >
> > (btw, why did you mark the copy constructor explicit?)
> 
> It's a habit. I always make constructors (is it really a copy constructor?) 
> which have only one argument explicit to prevent unwanted casts. Should I 
> remove the explicit?

D'oh, silly me. I overlooked that it's not a copy constructor.
Forget my suggestion about the assignment operator then, as well as
the question about the 'explicit' . In fact best is to forget me :)


Simon




More information about the kde-core-devel mailing list