[PATCH] shared dpointer for duchain

Andreas Pakulat apaku at gmx.de
Sun Dec 16 22:45:41 UTC 2007


On 16.12.07 23:31:34, David Nolden wrote:
> On Sunday 16 December 2007 23:22:00 Andreas Pakulat wrote:
> > On 15.12.07 21:55:11, Andreas Pakulat wrote:
> > > Hi,
> > >
> > > apparently our list doesn't like mails larger than 20K (the first
> > > version of this had an 18K attachment), so this time with a link instead
> > > of attached patch.
> >
> > One other thing: Neither Definition nor Use have a copy constructor. Is
> > that by purpose? Or should I add one?
> 
> In practice it simply wasn't necessary to copy them until now. The copying is 
> needed for instantiating templates. For uses this simply doesn't apply, and 
> for definitions it isn't needed yet. However feel free to add the 
> constructors if needed for consistency.

There's no real need, both work fine without if there's nothing using
them and we can always add them later on.

Andreas

-- 
Tonight you will pay the wages of sin; Don't forget to leave a tip.




More information about the KDevelop-devel mailing list