經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供