This is the mail archive of the gcc-bugs@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]

[Bug c++/32944] operator= not ambiguous overload but does not compile



------- Comment #2 from Dallas at ekkySoftware dot com  2007-08-01 00:14 -------
The reason I was passing the reference and not the value is because is some
circumstances I can change the value of the parameter. Using the const keyword
prevents me from calling methods that can change the value ? even if in this
example they do not.

Thanks,
Dallas Clarke

BSc (CS) LLB UNSW
Architect / Lead Developer 
Ekky Software


Website: http://www.ekkySoftware.com 


-- 

Dallas at ekkySoftware dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32944


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