+ 2

templating issues

When I define overload the operator inside the class its fine but when i do that outside the class there is an error... why? I think I'm doing a a mess with templating and I have some faults in my basics. Can anyone please tell my how to define the operator outside and what is that I'm missing that resulted in that error???? https://code.sololearn.com/cFD4rjBwl2ad/?ref=app

21st Mar 2019, 11:46 AM
Vedansh
Vedansh - avatar
5 Respostas
+ 1
Can you share your code first, please? Then I might help u.
21st Mar 2019, 12:25 PM
Théophile
Théophile - avatar
+ 1
Théophile Oops.. I thought I mentioned it.
21st Mar 2019, 1:09 PM
Vedansh
Vedansh - avatar
+ 1
Ok thanks ~ swim ~
22nd Mar 2019, 7:55 AM
Vedansh
Vedansh - avatar