unresolved symbols from value.cpp/.h
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Thu Feb 2 08:43:17 GMT 2006
> 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
More information about the kde-core-devel
mailing list