cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
operator=
operator=
Jul 25, 2013 at 7:29am UTC
nmn
(47)
a = b; // works
a = b = c; //error: error no match....
Can you tell me why ?
1
2
3
4
5
6
7
Car Car::
operator
=(Car &a){ Car myCar; myCar = a; .... ....
return
(myCar); }
Jul 25, 2013 at 7:35am UTC
mutexe
(2372)
http://stackoverflow.com/questions/2697974/how-do-i-go-about-overloading-c-operators-to-allow-for-chaining
Topic archived. No new replies allowed.