This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32944] operator= not ambiguous overload but does not compile
- From: "Dallas at ekkySoftware dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2007 00:14:05 -0000
- Subject: [Bug c++/32944] operator= not ambiguous overload but does not compile
- References: <bug-32944-14925@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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