Why we should use the &obj specification for declaration of the operator function?let's use the myObj* | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why we should use the &obj specification for declaration of the operator function?let's use the myObj*

16th Feb 2016, 12:53 PM
Emanuel Lozitsky
Emanuel Lozitsky - avatar
1 Respuesta
+ 1
I think you're confusing passing by reference with pointer address. it's the same symbol for both, which is &
4th Apr 2016, 2:55 PM
Son