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

List:       kde-core-devel
Subject:    Re: unresolved symbols from value.cpp/.h
From:       "Christian Ehrlicher" <Ch.Ehrlicher () gmx ! de>
Date:       2006-02-02 8:43:17
Message-ID: 13987.1138869797 () www018 ! gmx ! net
[Download RAW message or body]

> On Wednesday 01 February 2006 20:12, André Wöbbeking wrote:
> > On Tuesday 24 January 2006 20:18, Christian Ehrlicher wrote:
> > > Maks Orlovich schrieb:
> > 
> > > > There is no ugly hack there. Just a standard language idiom. These
> > > > methods should never be used. The only way to ensure that is to
> > > > declare them and mark them private, as otherwise public defaults
> > > > will be generated. And as they can't ever do anything sensible,
> > > > there is no definition. (The only acceptable one would be abort(),
> > > > basically). The point is, ValueImp's are not copyable, even though
> > > > they're exported outside the library.
> > > >
> > > > And again, the only solution is a #define to disable those for the
> > > > broken compilers out there.
> > >
> > > Ok, I'll stop calling it ugly and make a define :)
> 
> Don't make a new one, use Q_DISABLE_COPY().
The problem here seems to be that kjs is,afaik, Qt-independent and therefore
they could not use Q_DISABLE_COPY :-(

Christian

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
[prev in list] [next in list] [prev in thread] [next in thread] 

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