kdevplatform krazy

Kris Wong wongk at seapine.com
Thu Jul 19 12:08:38 UTC 2007


> > I am a bit worried about
> > IdentifiedFile* IdentifiedFile::operator=( const 
> IdentifiedFile& rhs ) {
> > because I dont know if it should be
> > IdentifiedFile& IdentifiedFile::operator=( const 
> IdentifiedFile& rhs ) {
> 
> It should return a reference I think.
> 

Really it doesn't need to return anything.  I usually declare my
operator= with a void return type.

Kris Wong




More information about the KDevelop-devel mailing list