+ 1
Hi, somebody know what’s wrong with my operator += , i wanted to overload it
6 odpowiedzi
+ 1
Ok , I may have fixed it ,
I have commented the changes.
https://code.sololearn.com/ca0A17a8a10a
0
Refer here for the += and -= operator overload ,
https://code.sololearn.com/ca0A17a8a10a
0
i know my first operator was working but second was not and that was my question why second do not invokes
0
The myList one?
0
info += list1
that one, Especially a created a struct “ collection” for this one, I did the same way like my first operator += in another struct,but here it doesn’t work
0
thanks for help, I’ll try