[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:       David Faure <faure () kde ! org>
Date:       2006-02-02 8:36:31
Message-ID: 200602020936.31412.faure () kde ! org
[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().

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

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

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