Talk:Operators in C and C++: Difference between revisions

Content deleted Content added
Printz150 (talk | contribs)
Printz150 (talk | contribs)
Line 322:
== Non-reference return types ==
 
Unless I'm wrong, there's something amiss with the return types of most overloaded binary operators as shown on the page. They return values, not references, but use reference arguments (right hand operands). This means that in their current state as shown on the page, they cannot be used in right-to-left algebraic expressions (e.g.: a + (b + c) will trigger a compiler error, unless (b + c) is stored in a variable first and used as such).--[[User:Printz150|Printz150]] ([[User talk:Printz150|talk]]) 18:58, 25 February 2012 (UTC)