This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Operator overloading problems


Note that your assignment operator for int's should also normally return
a Byte reference rather than void.

Lyle

-----Original Message-----
From: bruno@codata.com.br [mailto:bruno@codata.com.br] 

Ok. It worked with const references. Thank you.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]