implicit QChar constructors

Harri Porten kde-optimize@mail.kde.org
Wed, 22 Jan 2003 17:52:48 +0100 (CET)


On Wed, 22 Jan 2003, Dirk Mueller wrote:

> On Mit, 22 Jan 2003, Dirk Mueller wrote:
> 
> Ok, creating a testcase unveiled the problem: gcc does not loop-eliminate 
> constructions when there is a copy constructor. Again this confirms the 
> golden rule of C++ coding: never declare a copy/assignment operator unless 
> you have to, because the compiler is always more efficient in creating such 
> a "default" copy constructor. 
> 
> Unfortunately, Trolltech has declared a copy constructor. 

FWIW, I've added a "### remove" comment in the main branch and removed it
completely from an experimental version.

Harri.