7 messages in com.mysql.lists.plusplusRe: Beta 2: Warning when compiling pr...
FromSent OnAttachments
Pål Brattberg13 Jul 2005 02:46 
Warren Young13 Jul 2005 14:01 
Carlos M. Gutierrez21 Jul 2005 09:57 
Carlos M. Gutierrez21 Jul 2005 10:07 
Chris Frey21 Jul 2005 15:11 
Warren Young21 Jul 2005 17:28 
Chris Frey21 Jul 2005 19:45 
Subject:Re: Beta 2: Warning when compiling program in FC4 GCC4
From:Warren Young (mysq@etr-usa.com)
Date:07/21/2005 05:28:41 PM
List:com.mysql.lists.plusplus

Chris Frey wrote:

The latest SVN version has this "fixed", but incorrectly in my opinion. It currently just returns *this, whereas I don't think operator=() should be defined at all, just declared.

Does this actually suppress the compiler-generated version?

Regardless, operator= does normally return *this, so the only problem with doing it this way is that it generates a tiny bit more code than if it were only declared and not defined.