Differences

This shows you the differences between two versions of the page.

Link to this comparison view

poo-is-ab:laboratoare:05 [2025/11/01 11:48]
razvan.cristea0106 [Funcții friend]
poo-is-ab:laboratoare:05 [2025/11/01 11:58] (current)
razvan.cristea0106 [Supraîncărcarea operatorilor]
Line 346: Line 346:
 { {
     return this->​real != z.real || this->​imaginar != z.imaginar;     return this->​real != z.real || this->​imaginar != z.imaginar;
 +    /*return !(*this == z) // o varianta mai eleganta de a nega rezultatul intors de operatorul == pentru a nu duplica codul*/
 } }
 </​code>​ </​code>​
poo-is-ab/laboratoare/05.1761990482.txt.gz · Last modified: 2025/11/01 11:48 by razvan.cristea0106
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0