unresolved symbols from value.cpp/.h
David Faure
faure at kde.org
Thu Feb 2 08:36:31 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().
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list