 |
9.5 — Overloading unary operators +, -, and ! « Learn C++
Hi gans, He is not actually modifying the operand. The following line is a function call to create a new Point object Point(-cPoint.m_dX, -cPoint.m_dY, -cPoint.m_dZ) My understanding is that when the above function call is made the operator- function copi
www.learncpp.com |
 |